aboutsummaryrefslogtreecommitdiff
path: root/src/global.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.zig')
-rw-r--r--src/global.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/global.zig b/src/global.zig
index 330c4387c..638bb1ae7 100644
--- a/src/global.zig
+++ b/src/global.zig
@@ -415,6 +415,9 @@ pub const Global = struct {
};
// Enabling huge pages slows down Bun by 8x or so
+ // Keeping this code for:
+ // 1. documentation that an attempt was made
+ // 2. if I want to configure allocator later
pub fn configureAllocator(config: AllocatorConfiguration) void {
// if (comptime !use_mimalloc) return;
// const Mimalloc = @import("./allocators/mimalloc.zig");