Throw Not Away, That Which Can Be Recycled
I’m in the process of optimizing some old prototype line rendering code. This code isn’t broken, but on every frame, it creates many line geometry objects, renders them once, and throws them away, never to be used again. Then it creates more line objects on the next time–repeat. Allocating memory all of the time like
Throw Not Away, That Which Can Be Recycled Read More »









