๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

An improved data structure for cumulative probability tables

โœ Scribed by Alistair Moffat


Book ID
101236843
Publisher
John Wiley and Sons
Year
1999
Tongue
English
Weight
98 KB
Volume
29
Category
Article
ISSN
0038-0644

No coin nor oath required. For personal study only.

โœฆ Synopsis


In 1994 Peter Fenwick at the University of Auckland devised an elegant mechanism for tracking the cumulative symbol frequency counts that are required for adaptive arithmetic coding. His structure spends O(log n) time per update when processing the sth symbol in an alphabet of n symbols. In this note we propose a small but significant alteration to this mechanism, and reduce the running time to O(log (1 + s)) time per update. If a probability-sorted alphabet is maintained, so that symbol s in the alphabet is the sth most frequent, the cost of processing each symbol is then linear in the number of bits produced by the arithmetic coder.


๐Ÿ“œ SIMILAR VOLUMES