oxc/crates/oxc_parser/src
overlookmotel ab8509edaa perf(parser): use - not saturating_sub (#4561)
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
2024-07-31 00:28:46 +00:00
..
js fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
jsx refactor(ast/ast_builder)!: shorter allocator utility method names. (#4122) 2024-07-09 12:16:38 +00:00
lexer perf(parser): use - not saturating_sub (#4561) 2024-07-31 00:28:46 +00:00
ts fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
context.rs feat(parser): parse decorators properly (#2603) 2024-03-04 19:30:41 +08:00
cursor.rs chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
diagnostics.rs fix(parser): fix enum member parsing (#4543) 2024-07-30 10:43:09 +00:00
lib.rs fix(ast): visit Programs hashbang field first (#4368) 2024-07-19 16:27:51 +00:00
modifiers.rs fix(parser): avoid crashing on invalid const modifier (#4267) 2024-07-15 11:37:31 +00:00
state.rs chore: improve some format by running cargo +nightly fmt 2024-06-19 00:48:30 +08:00