This patch is mostly about the performance improvement.
Bugfix: ascii_only: false
Performance improvements
hstr instead of string-cache
hstr is a new string interning library designed for the Rust-side compilers. This is designed to avoid costly operations like strcmp as much as possible.
I'll write a detailed post about it in the near future.
Parser trivial optimizations
Removal of Rc::clone
Removal of strcmp
Really trivial ones
Smarter lookup table
Minifier trivial optimizations
Removal of needless operations in the name mangler
Transform trivial optimizations
About the author
- CEO of Delino. I created SWC, an open-source compiler project, and previously worked at Deno and Vercel.
Comments
Join the discussionNo comments yet. Be the first to comment.