logoalt Hacker News

inhumantsarlast Wednesday at 6:47 AM1 replyview on HN

the `im` rust crate provides immutable data structures, one of them being an RRB-based Vec. don't remember what the stdlib Vec uses.


Replies

onionylast Wednesday at 11:55 AM

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.