English

Low-Memory Adaptive Prefix Coding

Data Structures and Algorithms 2008-11-24 v1

Abstract

In this paper we study the adaptive prefix coding problem in cases where the size of the input alphabet is large. We present an online prefix coding algorithm that uses O(σ1/λ+ϵ)O(\sigma^{1 / \lambda + \epsilon}) bits of space for any constants \eps>0\eps>0, λ>1\lambda>1, and encodes the string of symbols in O(loglogσ)O(\log \log \sigma) time per symbol \emph{in the worst case}, where σ\sigma is the size of the alphabet. The upper bound on the encoding length is λnH(s)+(λln2+2+ϵ)n+O(σ1/λlog2σ)\lambda n H (s) +(\lambda \ln 2 + 2 + \epsilon) n + O (\sigma^{1 / \lambda} \log^2 \sigma) bits.

Keywords

Cite

@article{arxiv.0811.3602,
  title  = {Low-Memory Adaptive Prefix Coding},
  author = {Travis Gagie and Marek Karpinski and Yakov Nekrich},
  journal= {arXiv preprint arXiv:0811.3602},
  year   = {2008}
}

Comments

10 pages

R2 v1 2026-06-21T11:44:10.079Z