【24h】

Performance of C++ Bit-vector Implementations

机译:C ++位向量实现的性能

获取原文
获取原文并翻译 | 示例

摘要

This paper describes an experimental study to compare the performance of various dynamically resizable bit-vector implementations for the C++ programming language. We compare the std: :vector from the Standard Template Library (STL), boost::dynamic_bitset from Boost, Qt: : QBitArray from QT Software, and BitMagic's bm: :bvector<> with one another. We also compare std: :vector from the STL with these because it is a dynamically resizable vector implementation that has been suggested to be an acceptable alternative for std: : vector. We describe the test data and the methods that were applied to measure memory use and processing time. This lays a foundation for comparing other parts of the different C++ libraries. The results are presented and discussed in terms of the differences in the implementations of these data structures. Although the results reported in this article is specific to the mentioned C++ libraries, the techniques used to measure and compare the performance of the different libraries go beyond C++ bit-vectors and may be used more generally.
机译:本文描述了一项实验研究,以比较C ++编程语言的各种可动态调整大小的位向量实现的性能。我们将来自标准模板库(STL)的std::vector ,来自Boost的boost :: dynamic_bitset,来自QT Software的Qt::QBitArray和BitMagic的bm::bvector <>相互比较。我们还将STL中的std :: vector 与它们进行比较,因为它是一种可动态调整大小的矢量实现,已建议将其作为std :: vector 的可接受替代方案。我们描述了测试数据以及用于测量内存使用和处理时间的方法。这为比较不同C ++库的其他部分奠定了基础。根据这些数据结构的实现方面的差异来介绍和讨论结果。尽管本文报告的结果特定于所提到的C ++库,但是用于测量和比较不同库性能的技术超出了C ++位向量,并且可能会更广泛地使用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号