AlgorithmsCompressionEdit on GitHubEdit history
Boundary Package-Merge
1995
A variant of the package-merge algorithm that keeps only boundary information for each level instead of storing every package, computing optimal length-limited prefix codes in O(nL) time and O(L²) space. It is used, for example in Zopfli, to build length-limited Huffman codes for DEFLATE.
Origin
Jyrki Katajainen, Alistair Moffat, Andrew Turpin (1995). A fast and space-economical algorithm for length-limited coding. Algorithms and Computation, ISAAC '95 (LNCS 1004).doi:10.1007/BFb0015404 — checked against Crossref, 2026-11-08
Lineage
Algorithms 5 · Relations 4
Parent algorithms
Where it came from
Package-Merge Algorithm1990
CitationPresents a method that solves the same length-limited coding problem as package-merge while reducing its space usage — doi:10.1007/BFb0015404
Derived algorithms
What it led to
Zopfli2013
Author statementZopfli's katajainen.c states that it computes code lengths with the boundary package-merge algorithm based on the paper by Katajainen, Moffat and Turpin
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…