Skip to content

v1.2.1

Compare
Choose a tag to compare
@lifthrasiir lifthrasiir released this 23 Aug 15:38
· 45 commits to main since this release

Compression improvements:

  • The context model is now up to 3 times faster than before. This massively improves the optimization performance especially in Firefox. (8af149c)

UI/API improvements:

  • Now can be used (not exactly "supported", though) with Node.js 14. (d9270c6)
  • The internal API now supports several tools that are necessary to use Roadroller as a general purpose compression library:
    • The preset dictionary can be used now. (3bf7845)
    • The number of output codes no longer has to be a power of 2; the negative number to outBits now denotes the exact code count. (ecb84a3)
    • The decompressor can be configured so that it ends at the known final byte instead of the known input length. (d8146d9)

Bugfixes:

  • Fixed the broken JS parser in the online demo. (2bca32c)
  • While very unlikely to affect anyone, all uses of Math.log2 have been replaced with the exact function. (b29d365)