oxc/crates/oxc_span
overlookmotel 63eb29868d perf(span): compare Spans as single u64s (#8300)
#8298 made `Span` aligned on 8 on 64-bit platforms. Utilize this property to compare `Span`s as a single `u64` instead of 2 x `u32`s. This removes some really weird assembly which compiler otherwise produces, using expensive SIMD operations for a simple comparison: https://godbolt.org/z/sEf9MGvsr

Note: This only affects comparing `&Span`s. Makes no difference when comparing owned `Span`s.
2025-01-18 01:47:10 +00:00
..
src perf(span): compare Spans as single u64s (#8300) 2025-01-18 01:47:10 +00:00
Cargo.toml release(crates): v0.46.0 (#8487) 2025-01-14 19:40:44 +08:00
CHANGELOG.md release(crates): v0.46.0 (#8487) 2025-01-14 19:40:44 +08:00