]> git.ipfire.org Git - thirdparty/zstd.git/commit
minor: generalize BitContainerType 4253/head
authorYann Collet <cyan@fb.com>
Sun, 19 Jan 2025 17:32:01 +0000 (09:32 -0800)
committerYann Collet <cyan@fb.com>
Mon, 20 Jan 2025 02:05:57 +0000 (18:05 -0800)
commit82346b92bb5f02dea90907135f74cd77f0c9cb33
tree031eb4b065940d99a463ef07315f42de219a956b
parent9fbed3330c032ec82b5a3ccbf38edabd61b80be6
minor: generalize BitContainerType

technically equivalent to `size_t`,
but it's the proper type for underlying register representation.

This makes it possible to control register type, and therefore size, independently from `size_t`,
which can be useful on systems where `size_t` is 32-bit, while the architecture supports 64-bit registers.
lib/common/bitstream.h
lib/common/fse.h