Open Bowarc opened 1 week ago
this explains it really well.
Vec is used to be able to modify it's length, and for this, it stores a capacity. On the other hand Rc<[T]> does not. (+ clones are wayy cheaper)
this explains it really well.
Vec is used to be able to modify it's length, and for this, it stores a capacity.
On the other hand Rc<[T]> does not. (+ clones are wayy cheaper)