Skip to content

Conversation

@bugparty
Copy link
Owner

@bugparty bugparty commented Jun 7, 2025

Summary

  • fix reserve() to accept capacity in bits
  • adjust push_back() growth logic to use bit capacity
  • rebuild and run benchmarks to ensure performance

Testing

  • cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
  • cmake --build build --config Release
  • ctest --test-dir build -j $(nproc) --output-on-failure
  • ./build/bitvector_benchmark --benchmark_filter=BM_Bowen_PushBack --benchmark_min_time=0.2

https://chatgpt.com/codex/tasks/task_e_6843af4c69cc8327b077408b47c5ed06

@bugparty bugparty merged commit 9fe2927 into main Jun 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants