Skip to main content

FastHashMapArena

Type Alias FastHashMapArena 

Source
pub type FastHashMapArena = Arena<FastHashMap>;
Expand description

Fast hash arena using ahash (requires refcount-fast-hash feature).

Uses ahash instead of SipHash for improved throughput on large collections. Not DOS-resistant, suitable for local, non-hostile environments.

Aliased Type§

pub struct FastHashMapArena {
    state: RefCell<ArenaState<HashMap<usize, Entry, RandomState>>>,
    _nosend: PhantomData<Rc<()>>,
}

Fields§

§state: RefCell<ArenaState<HashMap<usize, Entry, RandomState>>>§_nosend: PhantomData<Rc<()>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 128 bytes