mono/MonoGame — pull request #208 by kungfubanana (2012-01-22 09:46:30+00:00)
Title: Reduces object allocation in core Game loop, fixes iOS orientation bug from GamePlatform 

My attempt to avoid the creation of intermediate IEnumerable\ instances was short-sighted, as it resulted in an equal number of intermediate hoist-local-vars instances. These changes eliminate all (or nearly so) intermediate allocation in the core Game loop by avoiding hoisting and avoiding delegate creation where possible.

Also included is a minor fix to the iOS view controller that disables auto-rotate, since rotation is already handled by iOSGamePlatform and SpriteBatch.