Skip to content

fix panic after IterPopX leaves buffer exactly full#51

Merged
gammazero merged 1 commit intomainfrom
fix-iterator-resize-panic
Feb 11, 2026
Merged

fix panic after IterPopX leaves buffer exactly full#51
gammazero merged 1 commit intomainfrom
fix-iterator-resize-panic

Conversation

@gammazero
Copy link
Owner

The internal shrinkToFit function was not wrapping the tail index if the buffer was exactly full.

Closes #48

The internal shrinkToFit function was not wrapping the tail index if the buffer was exactly full.

Closes #48
@gammazero gammazero merged commit ed4810c into main Feb 11, 2026
2 checks passed
@gammazero gammazero deleted the fix-iterator-resize-panic branch February 11, 2026 03:19
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.

Bug in shrinkToFit

1 participant