PrimaryFeather/Starling-Framework — pull request #466 by ajwfrost (2014-01-14 20:51:43+00:00)
Title: QuadBatch registers AGAL programs on demand

Change to prevent QuadBatch from automatically compiling and registering 70+ AGAL programs at start-up, instead it just registers the programs it needs when they're first used.
Saved 50ms on my Windows desktop, but 1.5s+ on an Android handset.
If clients do actually use many of the program types then it might still be worth them being pre-loaded somehow, but I don't know how common this is. I'd measured this taking around 20ms to compile and register a single program so it may still be beneficial to do this when they're first used rather than at start-up.
Opening up for discussion...