Docs.rs
dgen-data-0.2.0
dgen-data 0.2.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
russfellows
Dependencies
anyhow ^1.0
normal
bytes ^1.10
normal
core_affinity ^0.8
normal
optional
hwlocality ^1.0.0-alpha.11
normal
optional
num_cpus ^1.16
normal
pyo3 ^0.27
normal
optional
rand ^0.9
normal
rand_xoshiro ^0.7
normal
rayon ^1.10
normal
thiserror ^1.0
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
criterion ^0.5
dev
tempfile ^3.20
dev
Versions
98.28%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module constants
dgen_
data
0.2.0
Module constants
Module Items
Constants
In crate dgen_
data
dgen_data
Module
constants
Copy item path
Source
Constants
ยง
BLOCK_
SIZE
Default block size for data generation (1 MiB) Smaller blocks provide better parallelization efficiency by distributing work more evenly across cores. Optimal for throughput: 256 KB - 1 MB.
MAX_
BACK_
REF_
DISTANCE
Maximum back-reference distance for compression (1 KiB) Keeps compression patterns local for realistic compressor behavior
MAX_
RUN_
LENGTH
Maximum run length for back-references (256 bytes)
MIN_
RUN_
LENGTH
Minimum run length for back-references (64 bytes)
MIN_
SIZE
Minimum size for data generation (one block)