Skip to content

Conversation

brettbuddin
Copy link
Contributor

@brettbuddin brettbuddin commented Mar 23, 2020

Reuse the the toDelete and toInsert slices within the TreeScheduler to reduce the allocation churn when creating iterators for the B-Tree ascension.

This is an intermediate step to relieve some of the memory usage. We will be going farther than this in how we handle this iterator in the upcoming TreeScheduler refactor.

📎 influxdata/idpe#6479

Copy link
Contributor

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@brettbuddin brettbuddin merged commit 5482cc3 into master Mar 24, 2020
@brettbuddin brettbuddin deleted the bb/reuse-slices branch March 24, 2020 14:40
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