This patch was enough to take this off my profiling radar. It was a bottleneck, but only in one of the dozens of bottles I was looking at. :)

Creating a throwaway `Array` (generically) was the drastically expensive thing I wanted to avoid.