oxc/crates
overlookmotel e8013d259e perf(traverse): faster string operations generating UIDs (#5626)
`get_unique_name` perform string manipulation faster, avoiding bounds checks, and use `itoa` crate for faster conversion of integers to strings for postfixes above 100.

No apparent difference on benchmarks, but I imagine that's only because it's outweighed by cost of hashing strings. If measured alone, I believe it would be a perf improvement.
2024-09-10 01:12:22 +00:00
..
oxc chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_allocator chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_ast chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_ast_macros chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_cfg chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_codegen feat(span)!: change SourceType::js to SourceType::cjs and SourceType::mjs (#5606) 2024-09-08 14:11:02 +00:00
oxc_diagnostics chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_index refactor(index, traverse): remove unnecessary type annotations (#5650) 2024-09-09 14:07:56 +00:00
oxc_isolated_declarations feat(span)!: change SourceType::js to SourceType::cjs and SourceType::mjs (#5606) 2024-09-08 14:11:02 +00:00
oxc_language_server chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_linter refactor(linter): use std::ptr::eq (#5649) 2024-09-09 15:28:10 +00:00
oxc_macros chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_mangler chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_minifier feat(span)!: change SourceType::js to SourceType::cjs and SourceType::mjs (#5606) 2024-09-08 14:11:02 +00:00
oxc_module_lexer feat(span)!: change SourceType::js to SourceType::cjs and SourceType::mjs (#5606) 2024-09-08 14:11:02 +00:00
oxc_parser feat(span)!: change SourceType::js to SourceType::cjs and SourceType::mjs (#5606) 2024-09-08 14:11:02 +00:00
oxc_prettier chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_regular_expression fix(regular_expression): Improve RegExp to_string() results (#5635) 2024-09-09 08:17:55 +00:00
oxc_semantic refactor(semantic): SymbolTable::is_empty use is_empty (#5622) 2024-09-09 01:07:34 +00:00
oxc_sourcemap chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_span fix(span): treat .js as module file (reverts the previous breaking change) (#5612) 2024-09-08 15:14:04 +00:00
oxc_syntax chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_transformer chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
oxc_traverse perf(traverse): faster string operations generating UIDs (#5626) 2024-09-10 01:12:22 +00:00
oxc_wasm chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00