oxc/crates/oxc_allocator
overlookmotel bf4e5e1c18 feat(allocator): add HashMap (#8553)
Add `HashMap` type to `oxc_allocator`. `HashMap` is a thin wrapper around `hashbrown::HashMap`, which allocates in the arena. The inner map is wrapped in `ManuallyDrop`, so `HashMap` is non-`Drop` (same as `oxc_allocator::Vec`).

We use `FxHasher` for all hash maps, so I figured just make that part of the type, rather than having to specify the hasher everywhere we use `HashMap`.
2025-01-16 23:29:57 +00:00
..
src feat(allocator): add HashMap (#8553) 2025-01-16 23:29:57 +00:00
Cargo.toml feat(allocator): add HashMap (#8553) 2025-01-16 23:29:57 +00:00
CHANGELOG.md release(crates): v0.45.0 (#8434) 2025-01-11 22:34:31 +08:00