OpenRA/OpenRA — pull request #7141 by RoosterDragon (2014-12-16 18:45:58+00:00)
Title: Generate sync reports faster

Avoid calling ToString on value types until they are written to disk.

Values for the report are generated by calling ToString on members, we avoid calling this on value types for performance. By instead just copying the value we can delay calling ToString until later and avoid spending time and memory creating strings that usually go unused.

On the RA shellmap, overall CPU time spent capturing these values has been reduced from 1.4% to 0.3%.