# Add SegmentedList.shrink · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/81d9403dcea172ce2fdb44610c9350821109adae)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 81d9403dcea172ce2fdb44610c9350821109adae

Requested commit: 81d9403dcea172ce2fdb44610c9350821109adae

Commit: 81d9403dcea172ce2fdb44610c9350821109adae

Tree: b04c9a0ad55c82987ddd9d16af8dd4a8d8251e93

Author: Wink Saville

Committer: Andrew Kelley

## Message

```
Add SegmentedList.shrink

I was exploring std.zig.Tokenizer and wanted to compare performance of
arrays, SegmentedList and ArrayList and needed SegmentedList.shrink
to make the comparison "fair".

```

## Parents

- [4c0163b69bafce753ee31e1bfa3ae0b5ba37fbf2](https://git.cafe/gitcafe/zig/commit/4c0163b69bafce753ee31e1bfa3ae0b5ba37fbf2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/81d9403dcea172ce2fdb44610c9350821109adae?format=markdown)
