codecs
ptwm_core::codecs::zstd
Zstd plane codec. Wraps the existing crate::codec_tagged::zstd_{encode,decode} helpers so the container can use it as a generic meta-compressor without new dependencies.
ptwm_core::codecs::zstd
Zstd plane codec. Wraps the existing crate::codec_tagged::zstd_{encode,decode} helpers so the container can use it as a generic meta-compressor without new dependencies.
ptwm_core::codecs::zstd
crates/ptwm-core/src/codecs/zstd.rs:1mod zstdZstd plane codec. Wraps the existing `crate::codec_tagged::zstd_{encode,decode}` helpers so the container can use it as a generic meta-compressor without new dependencies.
`Method::ZSTD` selects this codec for the whole tensor. The
upstream byte-split preprocessing op already supplies the SHUFFLE-
style reordering Zstd would otherwise need, so the plane codec runs
plain Zstd.
The default compression level is 3 — a good balance between speed
and ratio.
ptwm_core::codecs::zstd::Zstd
crates/ptwm-core/src/codecs/zstd.rs:20pub struct Zstd;