Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: A tutorial on the range variant of asymmetric numeral systems   This paper is intended to be a brief and accessible introduction to the range
variant of asymmetric numeral systems (ANS), a system for lossless compression
of sequences which can be used as a drop in replacement for arithmetic coding
(AC). Because of the relative simplicity of ANS, we are able to provide enough
mathematical detail to rigorously prove that ANS attains a compression rate
close to the Shannon limit. Pseudo-code, intuitive interpretation and diagrams
are given alongside the mathematical derivations. A working Python demo which
accompanies this tutorial is available at
https://raw.githubusercontent.com/j-towns/ans-notes/master/rans.py.

28
The categories of this paper are: alg-geom
9
The categories of this paper are: nlin
17
The categories of this paper are: q-fin
35
The categories of this paper are: mtrl-th
4
The categories of this paper are: cond-mat
7
The categories of this paper are: hep-th
34
The categories of this paper are: chem-ph
20
The categories of this paper are: acc-phys
5
The categories of this paper are: gr-qc
32
The categories of this paper are: atom-ph
29
The categories of this paper are: funct-an
22
The categories of this paper are: chao-dyn
13
The categories of this paper are: quant-ph
36
The categories of this paper are: cmp-lg
23
The categories of this paper are: solv-int
11
The categories of this paper are: hep-lat