Too Long; Didn't Read
We implemented <code class="markup--code markup--p-code">SmallFun</code>, an alternative to <code class="markup--code markup--p-code">std::function</code>, which implements <em>fixed-size capture optimization</em> (a form of small buffer optimization). Whilst <code class="markup--code markup--p-code">SmallFun</code> is a bit less generic than <code class="markup--code markup--p-code">std::function</code>, it is <strong>3–5x faster</strong> in some benchmarks.