Bloscpack:一种用于数值数据的压缩轻量级序列化格式
Bloscpack: a compressed lightweight serialization format for numerical data
摘要:
本文介绍了Bloscpack文件格式和附带的Python参考实现。Bloscpack是一种轻量级的压缩二进制文件格式,基于BLOSC编解码器,专为数字数据的轻量级快速序列化而设计。本文介绍了文件格式的特性和参考实现的一些API方面,特别是处理Numpy ndarrays的能力。此外,为了展示其实用性,该格式在功能和性能方面与Numpy ndarrays的一些替代轻量级序列化解决方案进行了比较。性能比较采用了一些综合基准测试的形式,这些基准测试针对一系列不同的人工数据集,这些数据集具有不同的大小和复杂性,其结果将在本文的最后一节中介绍。
英文摘要:
This paper introduces the Bloscpack file format and the accompanying Python reference implementation. Bloscpack is a lightweight, compressed binary file-format based on the Blosc codec and is designed for lightweight, fast serialization of numerical data. This article presents the features of the file-format and some some API aspects of the reference implementation, in particular the ability to handle Numpy ndarrays. Furthermore, in order to demonstrate its utility, the format is compared both feature- and performance-wise to a few alternative lightweight serialization solutions for Numpy ndarrays. The performance comparisons take the form of some comprehensive benchmarks over a range of different artificial datasets with varying size and complexity, the results of which are presented as the last section of this article.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。