22-Jul-2013 01:19, Namespace пишет:
I really like the idea. I've changed it a bit: I have a float[1024] buffer which is used, as long as the requested size is less than 1024. If it's greater, I will temporary allocate the whole array with new float[Size]; Any improvements? Or is 1024 to small / big?
No one size fits all. Measure and profit.
-- Dmitry Olshansky