ws-arch2-cab: codecs/compress/Quantum (CAB Quantum: 16-bit arithmetic decoder, the adaptive models with their rescale / re-sort rules, windows 2^10..2^21, one frame per CFDATA; written from the format descriptions) + cab Quantum folders, checked against cabextract on cabinets of a fixture Quantum compressor (tools/fixtures/_quantum.py) and libmspack's mszip_lzx_qtm sample

This commit is contained in:
4DBug committed 2026-10-31 15:50:37 -05:00
1 parent c54c8daff5
commit 9761df1af1
8 files changed
+486 -12

No files matched your search

+3 -3
View File
@@ -1177,12 +1177,12 @@ do
end
end
end
-- ws-arch2 cabinets: LZX (codecs/compress/Lzx) and MSZIP folders of tools/fixtures/cab.py (MB/s of output; each run
-- decodes the cabinet again, so the folder cache does not count)
-- ws-arch2 cabinets: LZX (codecs/compress/Lzx), Quantum (codecs/compress/Quantum) and MSZIP folders of
-- tools/fixtures/cab.py (MB/s of output; each run decodes the cabinet again, so the folder cache does not count)
do
local Cab = require("@formats/archive/cab")
local CF = require("@tests/gen/cab")
for _, kind in { "lzx", "mszip" } do
for _, kind in { "lzx", "quantum", "mszip" } do
local datas, total = {}, 0
for _, c in CF.cases do
local a = Cab.decode(Bytes.reader(buffer.fromstring(c.data))) :: any