• Alexandre Duret-Lutz's avatar
    Fix compression of large repetitions · 445a785e
    Alexandre Duret-Lutz authored
    * src/misc/intvcomp.cc (stream_compression_base::run): Limit
    repeatitions to 40, not 42.
    (stream_decompression_base::refill): Refill the end of the stream
    with 0.
    (stream_decompression_base::look_n_bits): Add assertion.
    * src/tgbatest/intvcomp.cc: Add a new test case.
To find the state of this project's repository at the time of any of these versions, check out the tags.
ChangeLog 368 KB