crates/swc_common/benches/serde.rs::benches::bench_serde::serialization of serde
-1%
2.8 µs
2.8 µs
Commits
Click on a commit to change the comparison range
Base
main
bccdafc
+10%
perf(es/fast-lexer): replace PHF with static keyword lookup table
Replaces the perfect hash function (PHF) keyword lookup with a more performant static keyword lookup table. The new implementation:
- Removes dependency on `phf` crate
- Adds a custom static keyword lookup mechanism
- Introduces a more cache-friendly keyword search algorithm
- Adds support for the `module` keyword