Reviewing FASTER: Let's check these numbers

added by DotNetKicks
8/29/2018 12:37:28 PM

2 Kicks, 1108 Views

There are several ways to handle this, including using generic struct that can eliminate most of the virtual calls. This is effectively what FASTER is doing, without the generics. FASTER also benefits from pre-allocating everything upfront. If you'll look at the profiler results, you can see that these are the major source of "slowness" in the benchmark.