oxc-project / oxc-browserslist

Rust port of browserslist
https://docs.rs/oxc-browserslist
MIT License
19 stars 1 forks source link

Transformation of string to raw string literal in caniuse_feature_matching #56

Open barvirm opened 3 days ago

barvirm commented 3 days ago

Transformation of string to raw string literal in caniuse_feature_matching. https://github.com/oxc-project/oxc-browserslist/issues/23#issuecomment-2143506720

codspeed-hq[bot] commented 3 days ago

CodSpeed Performance Report

Merging #56 will improve performances by 10.04%

Comparing barvirm:main (51280fb) with main (8a968b6)

Summary

⚡ 1 improvements ✅ 5 untouched benchmarks

Benchmarks breakdown

Benchmark main barvirm:main Change
resolve 'node >= 8' 209.5 µs 190.4 µs +10.04%
Boshen commented 3 days ago

Thank you so much! We also need to check in the generate file, run:

https://github.com/oxc-project/oxc-browserslist/blob/0faa9688d98b7f8dc90df9e5bf0f3d0c0e2462e8/.cargo/config.toml#L2