Use raw_c_allocator when not in Debug#231
Conversation
|
Is |
|
My understanding was that it seeks to replace According to https://ziglang.org/documentation/0.15.2/#toc-Choosing-an-Allocator
See also: ziglang/zig#22808 |
128ad0d to
82ecab6
Compare
|
Yes but it also explicitly asserts that it is not used in single threaded mode. I think it would be stick to the C allocator for now. |
|
@Vexu so force linking with also, does |
No need to force it, just link libc in release mode and use
It doesn't have to but it should since it is single threaded. |
82ecab6 to
df54a68
Compare
In our case (lots of C headers), codegen went from ~90s to less than 1s.
df54a68 to
78f4666
Compare
In our case (lots of C headers), codegen went from ~90s to less than 1s.