An optimized replacement of the infamous std::vector<🅱️ool>

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • BitLib

    Provides a bit-vector, an optimized replacement of the infamous std::vector<:b:ool>. In addition to the bit-vector, the library also provides implementations of STL algorithms tailored for bit-vectors.

  • I've seen too many scientific software packages write their own bitarray/bitvector classes, so I wrote a C++ library for bitvectors and related algorithms, BitLib, to hopefully alleviate that issue. BitLib has a number of advantages, namely:

  • BitArray

    C bit array structs and methods

  • Its very fast. While comparing to std::vector isn't really fair, BitLib is also significantly faster than the C BitArray library, which serves a similar purpose. I have not started profiling/optimizing yet, so it will only get faster at this point.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • bitvec

    A crate for managing memory bit by bit

  • interesting; i'll have to compare this to my rust counterpart. your numbers indicate some clever implementations i'd love to read

  • itsy_bitsy

    Bit containers, sequences, and views for everyone. 🕷️

  • Another library, to possibly compare against, is: itsy.bitsy.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • bitcode 0.4 release - binary serialization format

    6 projects | /r/rust | 14 May 2023
  • A simple problem that isn't

    3 projects | /r/programming | 5 Jan 2023
  • You need to stop idolizing programming languages.

    5 projects | /r/programming | 12 Apr 2022
  • bit-twiddling tricks. It's the perfect example of Rust's no-compromises "ergonomics AND speed AND correctness" ideals

    1 project | /r/programmingcirclejerk | 11 Apr 2022
  • An Armful of CHERIs: Memory Safety in the processor. Do we still need safe languages with CHERI?

    1 project | /r/rust | 24 Jan 2022