mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Follow up after #5673. It's safer to compare nodes by pointer equality than by equality of `Span`s. Transformer can create multiple nodes of same type with same span. Once nodes have node IDs, we can use them for comparison instead. That said, `ptr::eq` is much cheaper, as it doesn't have to follow the pointers to check equality. https://godbolt.org/z/hsqaeKr5M |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| CHANGELOG.md | ||