Skip to content

[NFC] Use ParentIndexIterator in SmallVector#7826

Merged
tlively merged 1 commit intomainfrom
smallvector-parent-index-iterator
Aug 14, 2025
Merged

[NFC] Use ParentIndexIterator in SmallVector#7826
tlively merged 1 commit intomainfrom
smallvector-parent-index-iterator

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented Aug 14, 2025

SmallVector previously (partially) implemented its own random access
iterators using a pointer to the parent SmallVector and an index, but
ParentIndexIterator is a more complete implementation of the same
iterator design. Reduce duplication and fix missing iterator
functionality by using ParentIndexIterator.

SmallVector previously (partially) implemented its own random access
iterators using a pointer to the parent SmallVector and an index, but
ParentIndexIterator is a more complete implementation of the same
iterator design. Reduce duplication and fix missing iterator
functionality by using ParentIndexIterator.
@tlively tlively requested a review from kripken August 14, 2025 01:12
@tlively tlively merged commit 3812783 into main Aug 14, 2025
16 checks passed
@tlively tlively deleted the smallvector-parent-index-iterator branch August 14, 2025 17:21
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