Skip to main content

Command Palette

Search for a command to run...

ChangeLog: v1.3.97

Published
1 min readView as Markdown
D
I created SWC, an open-source compiler project, and previously worked at Deno and Vercel. These days, I spend a lot of time building Labor0, along with Watchtower and The AI Platform at Zephyr Cloud IO.

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