diff options
author | 2021-08-23 02:29:07 -0700 | |
---|---|---|
committer | 2021-08-23 02:29:07 -0700 | |
commit | 8c6700792666b1d7a128095cd5cff392df68375c (patch) | |
tree | 2d094df1202fdf44587389e3e6f20967d6487dca /src/main_api.zig | |
parent | e012efa1243d09fb1de282ac0a1fa6c8b07538a5 (diff) | |
download | bun-8c6700792666b1d7a128095cd5cff392df68375c.tar.gz bun-8c6700792666b1d7a128095cd5cff392df68375c.tar.zst bun-8c6700792666b1d7a128095cd5cff392df68375c.zip |
Use mimalloc for a 10% boost
Former-commit-id: 044e11d720bc6742dc53b30b4e88e8be7e76c419
Diffstat (limited to 'src/main_api.zig')
-rw-r--r-- | src/main_api.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_api.zig b/src/main_api.zig index 04a93c3b8..ac908b671 100644 --- a/src/main_api.zig +++ b/src/main_api.zig @@ -8,7 +8,7 @@ export fn init() void { return; } - alloc.setup(std.heap.c_allocator); + alloc.setup(default_allocator); } export fn setOptions(options_ptr: [*c]u8, options_len: c_int) void {} |