oxc/crates/oxc_parser/src
overlookmotel a8dc4f34b2
perf(parser): speed up parsing numbers with _ separators (#4259)
When parsing a number which contains `_` separators, rather than looping
through the string once to remove separators, and then again to convert
to an `f64`, do it all in a single loop.

Co-authored-by: overlookmotel <557937+overlookmotel@users.noreply.github.com>
2024-07-15 12:27:47 +08:00
..
js refactor(semantic): update the order of visit_function and Visit fields in the builder to be consistent (#4248) 2024-07-14 11:39:15 +00:00
jsx refactor(ast/ast_builder)!: shorter allocator utility method names. (#4122) 2024-07-09 12:16:38 +00:00
lexer perf(parser): speed up parsing numbers with _ separators (#4259) 2024-07-15 12:27:47 +08:00
ts refactor(ast/ast_builder)!: shorter allocator utility method names. (#4122) 2024-07-09 12:16:38 +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 feat(parser): parse modifiers with parse_modifiers (take 2) (#3977) 2024-06-30 03:46:34 +00:00
lib.rs refactor(ast)!: store span details inside comment struct (#4132) 2024-07-09 23:23:43 +08:00
modifiers.rs chore: remove unsafe_code = "warn" rust lint 2024-07-15 10:39:08 +08:00
state.rs chore: improve some format by running cargo +nightly fmt 2024-06-19 00:48:30 +08:00