pub struct LogosI32Map { /* private fields */ }Expand description
i32-narrowed open-addressing i64 → i64 map — the same probe-table shape as
LogosI64Map but with 8-byte (i32, i32) slots, emitted when the compiler
PROVES every key AND value stays in i32 range. Halving the slot width halves
the table’s memory traffic — the dominant cost of this random-access workload —
for maps the dense gate cannot capture (no proven contiguous key window). The
call surface is i64 (keys/values widen at the boundary; the proof makes the
narrowing cast lossless), so codegen emits it identically to LogosI64Map.
Implementations§
Source§impl LogosI32Map
impl LogosI32Map
Trait Implementations§
Source§impl Clone for LogosI32Map
impl Clone for LogosI32Map
Source§fn clone(&self) -> LogosI32Map
fn clone(&self) -> LogosI32Map
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogosI32Map
impl Debug for LogosI32Map
Source§impl Default for LogosI32Map
impl Default for LogosI32Map
Source§impl LogosContains<i64> for LogosI32Map
impl LogosContains<i64> for LogosI32Map
Source§fn logos_contains(&self, key: &i64) -> bool
fn logos_contains(&self, key: &i64) -> bool
Check if this collection contains the given value.
Auto Trait Implementations§
impl Freeze for LogosI32Map
impl RefUnwindSafe for LogosI32Map
impl Send for LogosI32Map
impl Sync for LogosI32Map
impl Unpin for LogosI32Map
impl UnsafeUnpin for LogosI32Map
impl UnwindSafe for LogosI32Map
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more