logoalt Hacker News

nvme0n1p1today at 5:36 PM1 replyview on HN

SegmentedList had a weird API, especially the way you control the list growth factor by the size of an inline array. And it hadn't kept up with stdlib norms in recent versions. I do hope it comes back eventually with an improved API.

At least we got Deque in exchange. I use that far more often than I used SegmentedList.


Replies

_bohmtoday at 5:41 PM

Aha, gotcha. To tell you the truth, I don't think I ever used it. I have a custom implementation I wrote because I didn't realize at the time that SegmentedList was an unrolled linked list :p