a simple implementation of a smallvec: a vec that stores it's elements on the stack up until a certain threshold.
this code is not used anywhere, this is mostly just for show. the code is commented and the api is documented, so it's (hopefully) easy to understand how it works.