mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-12 14:00:01 -04:00
use autosorting btreeset (via indexset) and optimize for speed
This commit is contained in:
parent
33744b4e83
commit
9b15201b25
5 changed files with 98 additions and 60 deletions
|
@ -54,7 +54,9 @@ function rewriteJsWrapper(
|
|||
} else {
|
||||
timespan = "really slow";
|
||||
}
|
||||
console.log(`oxc rewrite was ${timespan} (${duration}ms)`);
|
||||
console.log(
|
||||
`oxc rewrite for "${url || "(unknown)"}" was ${timespan} (${duration}ms)`
|
||||
);
|
||||
}
|
||||
|
||||
return typeof input === "string" ? decoder.decode(js) : js;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue