small_vec 0.1.0

vector optimized for small buffers
Documentation
# small_vec

A *dynamic array* or vector supporting *small buffer optimization*.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.com/m-rinaldi/small_vec.svg?branch=main)](https://travis-ci.com/m-rinaldi/small_vec)

---

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

- `Local`: a buffer allocated locally inside the `SmallVec` itself.
- `Remote`: a `Vec<T>`, i.e., a remote buffer allocated on the heap.


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