Update comptime_string_map.zig

This commit is contained in:
Jarred Sumner
2022-03-10 05:40:51 -08:00
parent 1422055304
commit 17c1f403c1

View File

@@ -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;