googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.22k stars 339 forks source link

Cache Environment.CommandLine as it eats cpu. #520

Open kamyker opened 2 years ago

kamyker commented 2 years ago

https://github.com/googlesamples/unity-jar-resolver/blob/930f55ddc4d1c6404297678e0dab88e3f06e5ecd/source/VersionHandlerImpl/src/ExecutionEnvironment.cs#L39

Somehow this runs ALL THE TIME in the editor warming up my cpu. image

google-oss-bot commented 2 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Tommigun1980 commented 1 year ago

Could this please be fixed? It's a one-liner.

It is not ok for third party libraries to incur unnecessary performance penalties.