summaryrefslogtreecommitdiff
path: root/test/example/small_vector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SmallVector (#1912)Alon Zakai2019-02-251-0/+68
Trying to refactor the code to be simpler and less redundant, I ran into some perf issues that it seems like a small vector, with fixed-size storage and optional additional storage as needed, might help with. This implements that class and uses it in a few places. This seems to help, I see some 1-2% fewer instructions and cycles in `perf stat`, but it's hard to tell if it really makes a noticeable difference.