Comment by GrantMoyer

Comment by GrantMoyer 8 days ago

0 replies

This only addresses a small point in the article, but you can shrink capacity to size before passing a Vec to C, then assume capacity = size when you need to free the Vec.