mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Limit the number of pooled objects
This commit is contained in:
@@ -1755,7 +1755,7 @@ const StringVoidMap = struct {
|
||||
Pool.release(node);
|
||||
}
|
||||
|
||||
pub const Pool = ObjectPool(StringVoidMap, init, true);
|
||||
pub const Pool = ObjectPool(StringVoidMap, init, true, 32);
|
||||
pub const Node = Pool.Node;
|
||||
};
|
||||
const RefCtx = @import("../ast/base.zig").RefCtx;
|
||||
|
||||
Reference in New Issue
Block a user