Skip to content

Make it GC friendly #2

@prodigga

Description

@prodigga

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions