Our project is huge, lots of assets, lots of small individual code files with many methods (modular code is good).
I had an issue with 4000 warnings causing our compilation times to take 7 extra seconds than it needed to and now I’ve found this that is taking 4 extra seconds. Iterating on all the methods in an assembly is insane and I’m fairly confident this is the problem but just in case I’ll ask.
Anyone know if there is something else that could be affecting it’s performance? Inspecting the UnityEditor.dll seems to show it’s not doing much except collating data.
I think for the time being I’ll rewrite some of the IL code to require classes that implement MenuItem to implement IMenuItem to save on the iteration but Unity really has to get on this.


