pub struct FastCoverOptions {
pub cover: CoverOptions,
pub f: u32,
pub accel: u32,
}Available on crate feature
dict-builder only.Expand description
Tuning for FastCOVER training, the knobs of the reference’s
ZDICT_fastCover_params_t.
The defaults are those zstd --train runs: d of 8, a table of 2^20
counts, a search over k in four steps, three quarters of the samples
building and the rest scoring.
Fields§
§cover: CoverOptionsSegment size, dmer size, search, split and shrink, as for COVER. d is
at least 4 here; the reference takes 6 and 8.
f: u32Width of the dmer frequency table in bits, 1..=31; its memory grows
as 2^f. Zero is 20.
accel: u32Count every accel-th position, 1..=10, and draw the entropy tables
from a matching share of the samples. Zero is 1.
Trait Implementations§
Source§impl Clone for FastCoverOptions
impl Clone for FastCoverOptions
impl Copy for FastCoverOptions
Source§impl Debug for FastCoverOptions
impl Debug for FastCoverOptions
Source§impl Default for FastCoverOptions
impl Default for FastCoverOptions
Source§impl PartialEq for FastCoverOptions
impl PartialEq for FastCoverOptions
impl StructuralPartialEq for FastCoverOptions
Auto Trait Implementations§
impl Freeze for FastCoverOptions
impl RefUnwindSafe for FastCoverOptions
impl Send for FastCoverOptions
impl Sync for FastCoverOptions
impl Unpin for FastCoverOptions
impl UnsafeUnpin for FastCoverOptions
impl UnwindSafe for FastCoverOptions
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