pub struct LdmParams {
pub hash_log: u32,
pub bucket_size_log: u32,
pub min_match_length: u32,
pub hash_rate_log: u32,
}Expand description
Parameters for Long Distance Matching.
Fields§
§hash_log: u32Log2 of the LDM table’s entries.
bucket_size_log: u32Log2 of the entries per bucket, at most hash_log and 8.
min_match_length: u32Shortest LDM match in bytes. Each split point indexes this many bytes before it.
hash_rate_log: u32Split points, which LDM indexes and looks up, fall about once every
2^hash_rate_log bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for LdmParams
impl Freeze for LdmParams
impl Move for LdmParams
impl RefUnwindSafe for LdmParams
impl Send for LdmParams
impl Sync for LdmParams
impl Unpin for LdmParams
impl UnsafeUnpin for LdmParams
impl UnwindSafe for LdmParams
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