pub struct InternedStringCodec;Expand description
Interned string table with run-length-encoded u16 references.
Used for agent IDs and parent hash lists, both of which have low cardinality and high repetition.
Layout:
[table_count: u32 LE]
[len_0: u16 LE] [bytes_0...]
...
[run_count: u32 LE]
[run_len_0: u16 LE] [index_0: u16 LE]
...Trait Implementations§
Source§impl ColumnCodec for InternedStringCodec
impl ColumnCodec for InternedStringCodec
Auto Trait Implementations§
impl Freeze for InternedStringCodec
impl RefUnwindSafe for InternedStringCodec
impl Send for InternedStringCodec
impl Sync for InternedStringCodec
impl Unpin for InternedStringCodec
impl UnsafeUnpin for InternedStringCodec
impl UnwindSafe for InternedStringCodec
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