Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding
practical implementations of arithmetic coding 1 .