use autosorting btreeset (via indexset) and optimize for speed

This commit is contained in:
Toshit Chawda 2024-11-04 20:53:17 -08:00
parent 33744b4e83
commit 9b15201b25
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
5 changed files with 98 additions and 60 deletions

View file

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