Skip to content

Glossary: Data Structures and Algorithms in Rust

Capacity

The spare slots a Vec keeps at its end. When they run out, the Vec moves everything to a bigger block.

Where the book teaches it

Related terms

Dynamic arrayAmortized