Closed mtrive closed 2 years ago
Problem statement Object.name property allocates a new string in managed memory every time it is accessed.
Proposed solution Introduce a new diagnostic that suggesting caching Object.name.
This was implemented by https://github.com/Unity-Technologies/ProjectAuditor/pull/80
Problem statement Object.name property allocates a new string in managed memory every time it is accessed.
Proposed solution Introduce a new diagnostic that suggesting caching Object.name.