Merge pull request #6238 from roc-lang/dict-follow-up

Dict follow up and addition of releaseExcessCapacity
This commit is contained in:
Brendan Hansknecht 2023-12-11 02:15:44 -08:00 committed by GitHub
commit 3120dee509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 776 additions and 743 deletions

View file

@ -1058,7 +1058,7 @@ pub fn module_from_builtins<'ctx>(
let module = Module::parse_bitcode_from_buffer(&memory_buffer, ctx)
.unwrap_or_else(|err| panic!("Unable to import builtins bitcode. LLVM error: {err:?}"));
// In my testing, this adds about 20ms extra to compilation.
// In testing, this adds about 20ms extra to compilation.
// Long term it would be best if we could do this on the zig side.
// This change enables us to dce all the parts of compiler-rt we don't use.
// That said, it would be better to dce them before roc app compiltation time.