You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We therefore split the input data into 4 approximately equal sized fragments5 starting at 0, ⌊len/4⌋, ⌊len/4⌋ × 2 and ⌊len/4⌋ × 3.
I.e.,
abracadabr aabracadab raabracada braabracad abr
This method invalidates the observed frequencies for the example and footnote 5.
5This was why the \0 → a context in the example above had a frequency of 4 instead of 1.
The text was updated successfully, but these errors were encountered:
zaeleus
changed the title
cram-codecs: Order-1 frequency table example does not follow description
cram-codecs: rANS 4x8 order-1 frequency table example does not follow description
Mar 5, 2025
This is in regard to CRAM codec specification (version 3.1) (2023-03-15).
The example in § 2.1 "Frequency table: Order-1 encoding" splits the following input
into
It's not obvious why the example is split this way. The note directs you to § 2.2.2 "rANS entropy encoding: Interleaving", which says
I.e.,
This method invalidates the observed frequencies for the example and footnote 5.
The text was updated successfully, but these errors were encountered: