Skip to content

Comments

Refactor SlotArena iterators and enhance documentation#22

Merged
TKorr merged 1 commit intomainfrom
feat/add-slotarena-iters
Feb 19, 2026
Merged

Refactor SlotArena iterators and enhance documentation#22
TKorr merged 1 commit intomainfrom
feat/add-slotarena-iters

Conversation

@TKorr
Copy link
Contributor

@TKorr TKorr commented Feb 19, 2026

  • Introduced dedicated iterator types (Iter, IterMut, IntoIter, IterIds) for improved clarity and performance in SlotArena.
  • Updated documentation to provide clear examples and usage for new iterator methods.
  • Enhanced method signatures in documentation to use Rust's link syntax for better navigation.
  • Adjusted SlotId struct to derive PartialOrd and Ord for improved ordering capabilities.
  • Ensured all iterator implementations maintain O(1) complexity for access patterns, aligning with performance goals.

- Introduced dedicated iterator types (`Iter`, `IterMut`, `IntoIter`, `IterIds`) for improved clarity and performance in `SlotArena`.
- Updated documentation to provide clear examples and usage for new iterator methods.
- Enhanced method signatures in documentation to use Rust's link syntax for better navigation.
- Adjusted `SlotId` struct to derive `PartialOrd` and `Ord` for improved ordering capabilities.
- Ensured all iterator implementations maintain O(1) complexity for access patterns, aligning with performance goals.
@TKorr TKorr self-assigned this Feb 19, 2026
@TKorr TKorr merged commit 1227373 into main Feb 19, 2026
16 checks passed
@TKorr TKorr deleted the feat/add-slotarena-iters branch February 19, 2026 15:20
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