A 'small vector' optimization that stores up to a small number of items on the stack before heap-allocating.