mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
browser.tools: reduce eval branch quota in minify
This commit is contained in:
@@ -16,7 +16,7 @@ pub const ToolDef = struct {
|
||||
};
|
||||
|
||||
pub fn minify(comptime json: []const u8) []const u8 {
|
||||
@setEvalBranchQuota(100000);
|
||||
@setEvalBranchQuota(10000);
|
||||
return comptime blk: {
|
||||
var buf: [json.len]u8 = undefined;
|
||||
var len: usize = 0;
|
||||
|
||||
Reference in New Issue
Block a user