Host memory and CPU facts read straight from /proc and /sys/fs/cgroup.
Replaces the sysinfo runtime dependency, which reached this crate’s whole
consumer set — and, via its multithread feature, put rayon in it.
Host memory and CPU facts, read straight from /proc and /sys/fs/cgroup.
The DYNAMIC half of the archive: append at O(1), seal once. See hot.
HotArchive — the dynamic half of a znippy archive: append blobs and
index rows at O(1) per append, and pay the static seal exactly once.
Searchable archive metadata: the META_MODULE sub-index, its typed key/value
model, and the query API — “which entries carry key X” answered from an
index, at a cost set by the metadata, not by the payload.
Searchable archive metadata — answer “which entries in this archive
carry key X, and what are their values?” by reading an index, never by
streaming the payload.
Whether a payload is already compressed, and so should be stored raw.
Resolution order: an explicit caller hint, then the extension table, then a
magic-byte probe over the head of the real bytes.
Deciding whether a payload is already compressed, and so should be stored
raw instead of handed to the codec.
The probe itself, re-exported so znippy_common::precompressed::* keeps
naming exactly what it always named. These are ldeflate’s items, not copies
of them — breaking one there breaks every znippy caller, which is the point
of the move.
What a caller already knows about its content, if anything.
The probe itself, re-exported so znippy_common::precompressed::* keeps
naming exactly what it always named. These are ldeflate’s items, not copies
of them — breaking one there breaks every znippy caller, which is the point
of the move.
Bytes of prefix the probe reads. Sized by WebP, whose form type sits at
offset 8..12 — the longest anchored pattern here.
The probe itself, re-exported so znippy_common::precompressed::* keeps
naming exactly what it always named. These are ldeflate’s items, not copies
of them — breaking one there breaks every znippy caller, which is the point
of the move.
Does this buffer begin with a raw zlib stream (RFC 1950)?
The probe itself, re-exported so znippy_common::precompressed::* keeps
naming exactly what it always named. These are ldeflate’s items, not copies
of them — breaking one there breaks every znippy caller, which is the point
of the move.
Does this buffer begin with data that is already compressed?