I changed this so two less vectors has to be iterated. But the loop on line 670 is not that much faster.
So now i think the speadup comes from not doing multiple clear and multiple resize.
My test (profiler2) shows a median improvement from 22.68ms to 22.36ms
That's showing "rendering bucketed submissions" Report 0 is with this patch applied.