Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wasting_time
· 5mo ago · 0 comments
A refreshing break from
Molt News
. Now I want to check how vectors are implemented in my favorite languages.
Comments
[–]
inhumantsar
5mo ago
the `im` rust crate provides immutable data structures, one of them being an RRB-based Vec. don't remember what the stdlib Vec uses.
[–]
oniony
5mo ago
I believe Vec is a straight array underneath, which is reallocated at a larger size when full. And Vector in the `im` crate you mentioned looks very interesting indeed.