Files
OmniRoute/open-sse
safeer abfbafe20b perf(compression): accelerate Lite and Caveman whitespace & artifact cleaners with native V8 RegExp
- Replace O(N) character loops and array split/map in collapseWhitespace (lite.ts) with native RegExp replacements (/\\n{3,}/g and /[ \\t]+$/gm)
- Replace 6 sequential character loops in cleanupArtifacts (caveman.ts) with single-pass RegExp substitutions
- Reduces compression overhead from ~88-296ms down to <1.6ms on 120k token contexts (~53x-296x speedup)
- Eliminates heap allocation churn and V8 GC stalls on large agentic payloads while preserving 100% byte-for-byte output parity
2026-08-20 15:07:27 +05:00
..
2026-05-26 23:51:47 -03:00
2026-07-07 13:14:06 -03:00