Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes over-allocation of tree nodes in WeightedShuffle #4126

Merged

Conversation

behzadnouri
Copy link

Problem

Nodes without children are never accessed and don't need to be allocated.

Summary of Changes

Removed over-allocation of tree nodes in WeightedShuffle.

@behzadnouri behzadnouri force-pushed the weighted-shuffle-get-tree-size branch from 92fc812 to 6612db0 Compare December 15, 2024 15:16
Nodes without children are never accessed and don't need to be
allocated.
@behzadnouri behzadnouri force-pushed the weighted-shuffle-get-tree-size branch from 6612db0 to 2b3eb45 Compare December 15, 2024 23:09
Copy link

@gregcusack gregcusack left a comment

Choose a reason for hiding this comment

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

lgtm!

@behzadnouri behzadnouri merged commit 47ad9a1 into anza-xyz:master Dec 16, 2024
51 checks passed
@behzadnouri behzadnouri deleted the weighted-shuffle-get-tree-size branch December 16, 2024 19:05
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.

2 participants