oxc/crates/oxc_parser
overlookmotel 383b449d4e
perf(ast): box ImportDeclarationSpecifier enum variants (#3061)
Part of #3047.

As with #3058, it's hard to interpret the benchmark results here. But in
this case I think it's easier to see from "first principles" that this
should be an improvement - `ImportSpecifier` is pretty massive (80
bytes) vs `ImportDefaultSpecifier` (40 bytes), and the latter (e.g.
`import React from 'react'`) is common in JS code.
2024-04-22 09:06:39 +08:00
..
examples Make ast types covariant over the allocator lifetime. (#2943) 2024-04-12 18:12:18 +08:00
src perf(ast): box ImportDeclarationSpecifier enum variants (#3061) 2024-04-22 09:06:39 +08:00
Cargo.toml Release crates v0.12.4 2024-04-19 16:40:05 +08:00
CHANGELOG.md Release crates v0.12.3 2024-04-11 16:18:17 +08:00