mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update comptime_string_map.zig
This commit is contained in:
@@ -26,7 +26,7 @@ pub fn ComptimeStringMapWithKeyType(comptime KeyType: type, comptime V: type, co
|
||||
return a.key.len < b.key.len;
|
||||
}
|
||||
// https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array
|
||||
@setEvalBranchQuota(4000);
|
||||
@setEvalBranchQuota(99999);
|
||||
return std.mem.order(KeyType, a.key, b.key) == .lt;
|
||||
}
|
||||
}).lenAsc;
|
||||
|
||||
Reference in New Issue
Block a user