small_vec

A dynamic array or vector supporting small buffer optimization.

License: MIT Build Status


SmallVec<T, N> is, in essence, just an enum with two variants:

The capacity of the local buffer is specified at compile time as a constant generic argument to SmallVec.