Skip to content

Conversation

@hahnjo
Copy link
Member

@hahnjo hahnjo commented Feb 5, 2026

This is a bit more complicated in the code because the shift only applies if the underflow bin is enabled. It is also slower in the existing microbenchmarks, in particular with Clang. However, we need to make this change in order to support UHI's values(flow=True) with zero-copy buffers in the future and have the underflow bin at "the right place." Otherwise the design currently treats the memory layout as an internal implementation detail that users will not notice when using RBinIndex.

This is a bit more complicated in the code because the shift only
applies if the underflow bin is enabled. It is also slower in the
existing microbenchmarks, in particular with Clang. However, we need
to make this change in order to support UHI's values(flow=True) with
zero-copy buffers in the future and have the underflow bin at "the
right place." Otherwise the design currently treats the memory layout
as an internal implementation detail that users will not notice when
using RBinIndex.
@hahnjo hahnjo self-assigned this Feb 5, 2026
@hahnjo hahnjo added the in:Hist label Feb 5, 2026
@dpiparo dpiparo requested review from dpiparo and removed request for dpiparo February 5, 2026 12:10
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Test Results

    22 files      22 suites   3d 18h 16m 11s ⏱️
 3 779 tests  3 779 ✅ 0 💤 0 ❌
76 054 runs  76 054 ✅ 0 💤 0 ❌

Results for commit 33772a1.

♻️ This comment has been updated with latest results.

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.

1 participant