mccolljr / segvec

SegVec data structure for rust. Similar to Vec, but allocates memory in chunks of increasing size.
MIT License
35 stars 5 forks source link

get unchecked #33

Closed tower120 closed 1 year ago

tower120 commented 1 year ago

I noticed that SegVec does not have get_unchecked / get_mut_unchecked. Is that on purpose, or just in progress?

mccolljr commented 1 year ago

I had avoided it until now because it requires going through 2 layers of unchecked access and I didn't have a need for it, but I'm not opposed to including these methods.

mccolljr commented 1 year ago

Closing since #34 has been merged