3 ms·You could (and many people do) avoid heap allocations by putting things on the stack.by lazyjones 12y agoYou could (and many people do) avoid heap allocations by putting things on the stack.