Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.

Home Page:https://revolutionarygamesstudio.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce JSON read memory allocations

hhyyrylainen opened this issue · comments

The JSON reading creates quite many temporary objects, some of which I'm sure can be avoided easily and some more with slight architectural changes. I wrote the JSON code before finding out about a Rider plugin that highlights all memory allocations so I wasn't yet trying to optimize for that.