跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 信息论

arXiv:1909.06794 (cs)
[提交于 2019年9月15日]

标题:Run-Length Encoding in a Finite Universe

作者:N. Jesper Larsson
查看论文《Run-Length Encoding in a Finite Universe》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Text compression schemes and compact data structures usually combine sophisticated probability models with basic coding methods whose average codeword length closely match the entropy of known distributions. In the frequent case where basic coding represents run-lengths of outcomes that have probability $p$, i.e. the geometric distribution $\Pr(i)=p^i(1-p)$, a \emph{Golomb code} is an optimal instantaneous code, which has the additional advantage that codewords can be computed using only an integer parameter calculated from $p$, without need for a large or sophisticated data structure. Golomb coding does not, however, gracefully handle the case where run-lengths are bounded by a known integer~$n$. In this case, codewords allocated for the case $i>n$ are wasted. While negligible for large $n$, this makes Golomb coding unattractive in situations where $n$ is recurrently small, e.g., when representing many short lists of integers drawn from limited ranges, or when the range of $n$ is narrowed down by a recursive algorithm. We address the problem of choosing a code for this case, considering efficiency from both information-theoretic and computational perspectives, and arrive at a simple code that allows computing a codeword using only $O(1)$ simple computer operations and $O(1)$ machine words. We demonstrate experimentally that the resulting representation length is very close (equal in a majority of tested cases) to the optimal Huffman code, to the extent that the expected difference is practically negligible. We describe efficient branch-free implementation of encoding and decoding.
评论: SPIRE 2019
主题: 信息论 (cs.IT); 数据结构与算法 (cs.DS); 信息论 (math.IT)
引用方式: arXiv:1909.06794 [cs.IT]
  (或者 arXiv:1909.06794v1 [cs.IT] 对于此版本)
  https://doi.org/10.48550/arXiv.1909.06794

提交历史

来自:N. Jesper Larsson
[v1] 2019年9月15日 星期日 12:48:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.IT
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-09
切换浏览方式为:
cs
cs.DS
math.IT

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站