oxc-project
oxc-sourcemap
BlogDocsChangelog

refactor: replace !0 with INVALID_ID constant for better readability

#175Merged
Comparing
refactor/replace-sentinel-value
(
d43fe3e
) with
main
(
ad4f62c
)
CodSpeed Performance Gauge
+2%
Improvements
1
Untouched
4

Benchmarks

Improved

generate_lookup_table
benches/simple.rs::sourcemap::bench::SourceMap
CodSpeed Performance Gauge
+2%
1.3 µs1.2 µs

Passed

to_json_string
benches/simple.rs::sourcemap::bench::SourceMap
CodSpeed Performance Gauge
+1%
5.5 µs5.4 µs
from_json_string
benches/simple.rs::sourcemap::bench::SourceMap
CodSpeed Performance Gauge
0%
16.7 µs16.7 µs
add_name_add_source_and_content
benches/simple.rs::sourcemap::bench::SourceMapBuilder
CodSpeed Performance Gauge
0%
1.7 µs1.7 µs
to_json
benches/simple.rs::sourcemap::bench::SourceMap
CodSpeed Performance Gauge
0%
5.8 µs5.8 µs

Commits

Click on a commit to change the comparison range
Base
main
ad4f62c
+2.35%
[autofix.ci] apply automated fixes
d43fe3e
3 months ago
by autofix-ci[bot]
© 2025 CodSpeed Technology
Home Terms Privacy Docs