Skip to content

Feature/alignment cleanup#30

Open
Malkovsky wants to merge 7 commits intomainfrom
feature/alignment_cleanup
Open

Feature/alignment cleanup#30
Malkovsky wants to merge 7 commits intomainfrom
feature/alignment_cleanup

Conversation

@Malkovsky
Copy link
Owner

No description provided.

@kiloconnect
Copy link

kiloconnect bot commented Feb 15, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .github/workflows/benchmarks-test.yml
  • src/benchmarks/benchmarks.cpp
  • src/docs/Doxyfile.in

* @brief A simple struct to represent a aligned storage for a cache line.
*/
struct alignas(64) CacheLine {
std::array<std::byte, 64> data;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Missing header for std::array

include/pixie/cache_line.h uses std::array but the header does not include <array>, which can break builds depending on include order. Add the missing include in this header so it is self-contained.

uint64_t pos = rng() % n;
benchmark::DoNotOptimize(bv.rank(pos));
std::mt19937_64 rng(42);
if (std::popcount(n) == 1) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Missing <bit> include for std::popcount

std::popcount is declared in <bit>. Relying on transitive includes can break builds on different standard library versions, so it should be included explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant