Skip to main content

Crate datacortex_core

Crate datacortex_core 

Source
Expand description

DataCortex — lossless text compression engine.

Format-aware preprocessing + bit-level context mixing + entropy coding.

Re-exports§

pub use codec::compress;
pub use codec::compress_with_model;
pub use codec::compress_with_options;
pub use codec::decompress;
pub use codec::decompress_with_model;
pub use codec::raw_zstd_compress;
pub use codec::read_header;
pub use dcx::DcxHeader;
pub use dcx::FormatHint;
pub use dcx::Mode;
pub use format::detect_format;
pub use model::CMConfig;
pub use model::CMEngine;

Modules§

codec
Codec orchestrator — compress and decompress through the DataCortex pipeline.
dcx
.dcx file format — v3 header with CRC-32 integrity.
entropy
Entropy coding — binary arithmetic coder (12-bit precision, carry-free).
format
Format detection and preprocessing pipeline.
mixer
Mixer — logistic transforms, dual logistic mixer, hierarchical mixer, APM cascade, and ISSE chain.
model
Context models — predict next bit probability from context.
state
State primitives — StateTable, StateMap, ContextMap for bit-level state tracking.