unity-camera-multi-target icon indicating copy to clipboard operation
unity-camera-multi-target copied to clipboard

Make it GC friendly

Open prodigga opened this issue 7 years ago • 0 comments

I noticed heavy use of LINQ and 'ToArray' which is generating a lot of garbage per frame. Could be avoided by just omitting the LINQ and allocating lists and clearing/reusing them every frame instead of generating new arrays each time.

prodigga avatar Dec 28 '18 05:12 prodigga