arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1011.1708cs.DS
收藏

CRAM:压缩随机存取存储器

CRAM: Compressed Random Access Memory

Jesper Jansson, Kunihiko Sadakane, Wing-Kin Sung

摘要:

我们提出了一种称为\emph{Compressed Random Access Memory}(CRAM)的新数据结构,它可以存储字符的动态字符串$T$,例如,以压缩形式表示计算机的存储器,同时在压缩比上实现渐近几乎最优的界限(根据经验熵)。它允许$T$的短子字符串被有效地解压缩和检索,并且显著地,在执行\emph{without decompressing the entire string}期间快速修改$T$的任意位置处的字符。这可以被视为一种新型的数据压缩,可以直接更新压缩文件。此外,以略微增加每个操作所花费的时间为代价,CRAM可以扩展为也支持插入和删除。我们的关键观察,经验熵的字符串并没有改变太多的字符串后,小的变化,以及我们的简单而有效的方法来维持一个数组的可变长度的块下的长度修改,可能是有用的许多其他应用程序。

英文摘要:

We present a new data structure called the \emph{Compressed Random Access Memory} (CRAM) that can store a dynamic string $T$ of characters, e.g., representing the memory of a computer, in compressed form while achieving asymptotically almost-optimal bounds (in terms of empirical entropy) on the compression ratio. It allows short substrings of $T$ to be decompressed and retrieved efficiently and, significantly, characters at arbitrary positions of $T$ to be modified quickly during execution \emph{without decompressing the entire string}. This can be regarded as a new type of data compression that can update a compressed file directly. Moreover, at the cost of slightly increasing the time spent per operation, the CRAM can be extended to also support insertions and deletions. Our key observation that the empirical entropy of a string does not change much after a small change to the string, as well as our simple yet efficient method for maintaining an array of variable-length blocks under length modifications, may be useful for many other applications as well.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑