Skip to content

Experiment with conditionally appending/prepending a span to a bucket depending on its bucket index. - #630

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_974565473
Draft

Experiment with conditionally appending/prepending a span to a bucket depending on its bucket index.#630
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_974565473

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Sep 1, 2026

Copy link
Copy Markdown

Experiment with conditionally appending/prepending a span to a bucket depending on its bucket index.

For each iteration, we unconditionally remove a span from a bucket and add it to either the front or back of the linked list, depending on its bucket index. For buckets with fewer allocations, we add to the back of the list to deprioritize them.

@copybara-service
copybara-service Bot force-pushed the test_974565473 branch 2 times, most recently from 973a775 to 88173f3 Compare September 1, 2026 18:36
@copybara-service copybara-service Bot changed the title A Experiment with conditionally appending/prepending a span to a bucket depending on its bucket index. Sep 1, 2026
@copybara-service
copybara-service Bot force-pushed the test_974565473 branch 2 times, most recently from 071fd19 to c728e59 Compare September 3, 2026 15:08
… depending on its bucket index.

For each iteration, we unconditionally remove a span from a bucket and add it to either the front or back of the linked list, depending on its bucket index. For buckets with fewer allocations, we add to the back of the list to deprioritize them.

PiperOrigin-RevId: 974565473
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