Commit graph pure-zstd/test/shared_decoder_test.dart
Author SHA1 Message Date
Tag
c4bc910c05 Run one decoder over mixed frames in both orders
A ZstdDecoder keeps its Huffman table, its three FSE tables, the repeat flags
and the three recent offsets between calls, and every one of those belongs to
a single frame. A leak is invisible while every frame in the list looks alike,
which is what the .hgtz corpus is. Reversing the order gives each frame a
different predecessor, so a leak shows up as a difference between the passes.
2026-09-21 23:20:53 -06:00