mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
#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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| CHANGELOG.md | ||