-
Enhancement
-
Resolution: Fixed
-
P4
-
fx2.0, fx2.1
The PlatformUtils class does string comparisons every time somebody asks for whether we are on mac, windows, etc. These checks happen in Prism and Controls on a regular basis. By computing this value once and then doing simple int comparisons we can make this class much faster. There is no profiling data to indicate that this is a problem, but simple inspection and a realization that we're running now on very low end hardware with interpreter and no JIT makes it clear that this must be fixed.