Skip to content

Conversation

@tridge
Copy link
Member

@tridge tridge commented May 20, 2025

this reduces CPU cost at the expense of a little more memory

@tridge tridge requested a review from tpwrules May 20, 2025 20:10
@tridge tridge force-pushed the pr-canard-rx-buckets branch from 3f9fce2 to 05af194 Compare May 20, 2025 20:49
@tridge tridge force-pushed the pr-canard-rx-buckets branch from 05af194 to 674149c Compare July 11, 2025 23:35
this reduces CPU cost at the expense of a little more memory
@tridge tridge force-pushed the pr-canard-rx-buckets branch from 674149c to 3ec7556 Compare July 11, 2025 23:54
@tridge tridge merged commit b2da417 into master Jul 12, 2025
4 checks passed
Copy link
Collaborator

@tpwrules tpwrules left a comment

Choose a reason for hiding this comment

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

Could have sworn I left a review.

Looks good to me. A couple places you could factor out the bucket computation and it should probably be made a (static inline) function. Might also be worth switching to a more even "hash".

I don't think it should be changed now, just thoughts for the future.

@tpwrules tpwrules deleted the pr-canard-rx-buckets branch July 12, 2025 17:35
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.

3 participants