mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Follow-on after #4304. Avoid using `saturating_sub` when plain `-` will do. `-` is cheaper - it's a single assembly instruction, whereas `saturating_sub` is usually 3 instructions. https://godbolt.org/z/fo8Tcx6bK |
||
|---|---|---|
| .. | ||
| js | ||
| jsx | ||
| lexer | ||
| ts | ||
| context.rs | ||
| cursor.rs | ||
| diagnostics.rs | ||
| lib.rs | ||
| modifiers.rs | ||
| state.rs | ||