zig icon indicating copy to clipboard operation
zig copied to clipboard

Add replaceRangeAssumeCapacity method to ArrayList

Open g-cassie opened this issue 1 year ago • 0 comments

Adds replaceRangeAssumeCapacity method. This feels like it's missing based on the other methods that are available in ArrayList.

Also refactor orderedRemove to just call out to replaceRange. Happy to revert this part if it's not the right vibe.

Are there any patterns for parametrizing tests in zig? Seems like it could help a lot here testing the 4 different types of ArrayLists.

g-cassie avatar Dec 16 '23 22:12 g-cassie