[compile time] Rewrite the code to reduce the number of map lookups.
[compile time] Rewrite the code to reduce the number of map lookups.

Swift SVN r26387

sdulal/swift,slavapestov/swift,LeoShimonaka/swift,swiftix/swift.old,khizkhiz/swift,SwiftAndroid/swift,ahoppen/swift,return/swift,OscarSwanros/swift,KrishMunot/swift,alblue/swift,allevato/swift,tinysun212/swift-windows,Jnosh/swift,JGiola/swift,emilstahl/swift,kentya6/swift,uasys/swift,hughbe/swift,sschiau/swift,xedin/swift,milseman/swift,ben-ng/swift,gottesmm/swift,cbrentharris/swift,IngmarStein/swift,hughbe/swift,kstaring/swift,jckarter/swift,apple/swift,IngmarStein/swift,nathawes/swift,codestergit/swift,tkremenek/swift,roambotics/swift,hooman/swift,ken0nek/swift,harlanhaskins/swift,kusl/swift,austinzheng/swift,cbrentharris/swift,felix91gr/swift,tkremenek/swift,khizkhiz/swift,danielmartin/swift,amraboelela/swift,amraboelela/swift,airspeedswift/swift,danielmartin/swift,kstaring/swift,russbishop/swift,milseman/swift,JaSpa/swift,gribozavr/swift,nathawes/swift,stephentyrone/swift,amraboelela/swift,tinysun212/swift-windows,mightydeveloper/swift,brentdax/swift,alblue/swift,austinzheng/swift,ken0nek/swift,felix91gr/swift,tinysun212/swift-windows,lorentey/swift,therealbnut/swift,codestergit/swift,djwbrown/swift,kentya6/swift,mightydeveloper/swift,OscarSwanros/swift,gregomni/swift,khizkhiz/swift,kperryua/swift,arvedviehweger/swift,SwiftAndroid/swift,atrick/swift,deyton/swift,JGiola/swift,MukeshKumarS/Swift,OscarSwanros/swift,benlangmuir/swift,calebd/swift,KrishMunot/swift,KrishMunot/swift,austinzheng/swift,kentya6/swift,ben-ng/swift,johnno1962d/swift,brentdax/swift,gmilos/swift,cbrentharris/swift,devincoughlin/swift,practicalswift/swift,hooman/swift,swiftix/swift.old,ken0nek/swift,emilstahl/swift,johnno1962d/swift,kstaring/swift,MukeshKumarS/Swift,gottesmm/swift,gribozavr/swift,slavapestov/swift,JaSpa/swift,tjw/swift,SwiftAndroid/swift,benlangmuir/swift,lorentey/swift,bitjammer/swift,xedin/swift,emilstahl/swift,practicalswift/swift,practicalswift/swift,sdulal/swift,russbishop/swift,return/swift,manavgabhawala/swift,kusl/swift,parkera/swift,tardieu/swift,khizkhiz/swift,bitjammer/swift,KrishMunot/swift,dduan/swift,zisko/swift,tardieu/swift,kperryua/swift,airspeedswift/swift,kstaring/swift,roambotics/swift,kstaring/swift,devincoughlin/swift,dduan/swift,Jnosh/swift,danielmartin/swift,LeoShimonaka/swift,Ivacker/swift,nathawes/swift,tinysun212/swift-windows,kusl/swift,dreamsxin/swift,brentdax/swift,jtbandes/swift,gottesmm/swift,danielmartin/swift,djwbrown/swift,slavapestov/swift,rudkx/swift,natecook1000/swift,gmilos/swift,CodaFi/swift,dduan/swift,shajrawi/swift,sschiau/swift,benlangmuir/swift,atrick/swift,tkremenek/swift,CodaFi/swift,gottesmm/swift,OscarSwanros/swift,JaSpa/swift,modocache/swift,tkremenek/swift,bitjammer/swift,LeoShimonaka/swift,swiftix/swift.old,milseman/swift,djwbrown/swift,aschwaighofer/swift,parkera/swift,slavapestov/swift,johnno1962d/swift,karwa/swift,xwu/swift,roambotics/swift,milseman/swift,benlangmuir/swift,arvedviehweger/swift,slavapestov/swift,rudkx/swift,rudkx/swift,lorentey/swift,modocache/swift,kperryua/swift,JGiola/swift,kperryua/swift,modocache/swift,alblue/swift,jmgc/swift,devincoughlin/swift,huonw/swift,natecook1000/swift,Ivacker/swift,gmilos/swift,huonw/swift,karwa/swift,gmilos/swift,modocache/swift,roambotics/swift,shajrawi/swift,JaSpa/swift,danielmartin/swift,huonw/swift,sdulal/swift,xwu/swift,harlanhaskins/swift,ahoppen/swift,lorentey/swift,benlangmuir/swift,frootloops/swift,huonw/swift,stephentyrone/swift,return/swift,alblue/swift,codestergit/swift,kperryua/swift,xwu/swift,arvedviehweger/swift,cbrentharris/swift,LeoShimonaka/swift,danielmartin/swift,adrfer/swift,stephentyrone/swift,mightydeveloper/swift,bitjammer/swift,stephentyrone/swift,adrfer/swift,ken0nek/swift,practicalswift/swift,cbrentharris/swift,jckarter/swift,jmgc/swift,natecook1000/swift,austinzheng/swift,OscarSwanros/swift,ahoppen/swift,bitjammer/swift,tardieu/swift,rudkx/swift,jopamer/swift,jtbandes/swift,alblue/swift,karwa/swift,zisko/swift,tkremenek/swift,SwiftAndroid/swift,SwiftAndroid/swift,sdulal/swift,jckarter/swift,shahmishal/swift,brentdax/swift,xedin/swift,gribozavr/swift,MukeshKumarS/Swift,sdulal/swift,airspeedswift/swift,kusl/swift,slavapestov/swift,sschiau/swift,apple/swift,hooman/swift,natecook1000/swift,IngmarStein/swift,swiftix/swift,glessard/swift,russbishop/swift,SwiftAndroid/swift,milseman/swift,stephentyrone/swift,russbishop/swift,natecook1000/swift,JGiola/swift,MukeshKumarS/Swift,CodaFi/swift,swiftix/swift.old,gribozavr/swift,jmgc/swift,uasys/swift,swiftix/swift.old,emilstahl/swift,devincoughlin/swift,frootloops/swift,swiftix/swift.old,sschiau/swift,felix91gr/swift,kusl/swift,hooman/swift,deyton/swift,therealbnut/swift,dduan/swift,uasys/swift,sschiau/swift,JaSpa/swift,swiftix/swift.old,CodaFi/swift,tjw/swift,zisko/swift,codestergit/swift,lorentey/swift,jtbandes/swift,benlangmuir/swift,JGiola/swift,hughbe/swift,gottesmm/swift,aschwaighofer/swift,jopamer/swift,manavgabhawala/swift,LeoShimonaka/swift,modocache/swift,adrfer/swift,lorentey/swift,arvedviehweger/swift,practicalswift/swift,tardieu/swift,CodaFi/swift,modocache/swift,jckarter/swift,calebd/swift,emilstahl/swift,frootloops/swift,harlanhaskins/swift,jckarter/swift,alblue/swift,Jnosh/swift,slavapestov/swift,return/swift,stephentyrone/swift,tardieu/swift,JGiola/swift,uasys/swift,karwa/swift,MukeshKumarS/Swift,MukeshKumarS/Swift,swiftix/swift,ben-ng/swift,gribozavr/swift,aschwaighofer/swift,KrishMunot/swift,allevato/swift,jtbandes/swift,calebd/swift,therealbnut/swift,KrishMunot/swift,djwbrown/swift,Ivacker/swift,johnno1962d/swift,frootloops/swift,dduan/swift,hughbe/swift,manavgabhawala/swift,allevato/swift,KrishMunot/swift,kusl/swift,manavgabhawala/swift,bitjammer/swift,felix91gr/swift,Jnosh/swift,emilstahl/swift,frootloops/swift,huonw/swift,kentya6/swift,deyton/swift,OscarSwanros/swift,mightydeveloper/swift,CodaFi/swift,gmilos/swift,hughbe/swift,sschiau/swift,shahmishal/swift,adrfer/swift,shahmishal/swift,tardieu/swift,zisko/swift,allevato/swift,deyton/swift,frootloops/swift,kentya6/swift,sschiau/swift,manavgabhawala/swift,nathawes/swift,Ivacker/swift,parkera/swift,ahoppen/swift,parkera/swift,kperryua/swift,JaSpa/swift,alblue/swift,IngmarStein/swift,johnno1962d/swift,tardieu/swift,harlanhaskins/swift,jmgc/swift,russbishop/swift,ben-ng/swift,calebd/swift,jckarter/swift,brentdax/swift,Jnosh/swift,shajrawi/swift,parkera/swift,Ivacker/swift,gregomni/swift,apple/swift,kstaring/swift,gribozavr/swift,devincoughlin/swift,parkera/swift,amraboelela/swift,lorentey/swift,swiftix/swift,sschiau/swift,arvedviehweger/swift,jopamer/swift,IngmarStein/swift,gregomni/swift,glessard/swift,zisko/swift,Ivacker/swift,shahmishal/swift,hughbe/swift,swiftix/swift,glessard/swift,shajrawi/swift,huonw/swift,tkremenek/swift,atrick/swift,austinzheng/swift,IngmarStein/swift,roambotics/swift,jopamer/swift,khizkhiz/swift,SwiftAndroid/swift,xwu/swift,Jnosh/swift,OscarSwanros/swift,bitjammer/swift,karwa/swift,xwu/swift,therealbnut/swift,xedin/swift,xedin/swift,ahoppen/swift,karwa/swift,therealbnut/swift,tinysun212/swift-windows,airspeedswift/swift,shahmishal/swift,sdulal/swift,felix91gr/swift,therealbnut/swift,hooman/swift,return/swift,djwbrown/swift,devincoughlin/swift,nathawes/swift,deyton/swift,xedin/swift,ahoppen/swift,gregomni/swift,hughbe/swift,xwu/swift,kusl/swift,practicalswift/swift,ken0nek/swift,airspeedswift/swift,calebd/swift,cbrentharris/swift,Ivacker/swift,harlanhaskins/swift,parkera/swift,jckarter/swift,return/swift,codestergit/swift,swiftix/swift,xedin/swift,ben-ng/swift,shajrawi/swift,shajrawi/swift,allevato/swift,return/swift,milseman/swift,huonw/swift,shajrawi/swift,lorentey/swift,dduan/swift,khizkhiz/swift,sdulal/swift,rudkx/swift,gregomni/swift,djwbrown/swift,practicalswift/swift,amraboelela/swift,adrfer/swift,harlanhaskins/swift,gottesmm/swift,deyton/swift,kentya6/swift,dduan/swift,felix91gr/swift,tjw/swift,felix91gr/swift,JaSpa/swift,kusl/swift,apple/swift,tinysun212/swift-windows,atrick/swift,apple/swift,cbrentharris/swift,mightydeveloper/swift,ken0nek/swift,mightydeveloper/swift,djwbrown/swift,devincoughlin/swift,devincoughlin/swift,aschwaighofer/swift,tjw/swift,calebd/swift,shajrawi/swift,kentya6/swift,CodaFi/swift,parkera/swift,xwu/swift,Ivacker/swift,practicalswift/swift,austinzheng/swift,brentdax/swift,adrfer/swift,frootloops/swift,atrick/swift,gribozavr/swift,gmilos/swift,glessard/swift,aschwaighofer/swift,rudkx/swift,airspeedswift/swift,arvedviehweger/swift,dreamsxin/swift,airspeedswift/swift,mightydeveloper/swift,zisko/swift,jopamer/swift,nathawes/swift,ken0nek/swift,codestergit/swift,uasys/swift,shahmishal/swift,jmgc/swift,swiftix/swift,karwa/swift,manavgabhawala/swift,shahmishal/swift,apple/swift,russbishop/swift,kstaring/swift,IngmarStein/swift,amraboelela/swift,jmgc/swift,natecook1000/swift,roambotics/swift,tjw/swift,tkremenek/swift,zisko/swift,amraboelela/swift,kperryua/swift,stephentyrone/swift,LeoShimonaka/swift,jopamer/swift,arvedviehweger/swift,emilstahl/swift,allevato/swift,cbrentharris/swift,ben-ng/swift,shahmishal/swift,natecook1000/swift,sdulal/swift,kentya6/swift,therealbnut/swift,nathawes/swift,LeoShimonaka/swift,jtbandes/swift,aschwaighofer/swift,Jnosh/swift,MukeshKumarS/Swift,xedin/swift,swiftix/swift,tinysun212/swift-windows,jmgc/swift,codestergit/swift,khizkhiz/swift,hooman/swift,mightydeveloper/swift,modocache/swift,atrick/swift,glessard/swift,gmilos/swift,gottesmm/swift,ben-ng/swift,manavgabhawala/swift,LeoShimonaka/swift,harlanhaskins/swift,emilstahl/swift,milseman/swift,gregomni/swift,calebd/swift,swiftix/swift.old,tjw/swift,brentdax/swift,danielmartin/swift,karwa/swift,gribozavr/swift,adrfer/swift,glessard/swift,tjw/swift,russbishop/swift,jopamer/swift,austinzheng/swift,jtbandes/swift,johnno1962d/swift,deyton/swift,hooman/swift,uasys/swift,johnno1962d/swift,aschwaighofer/swift,jtbandes/swift,allevato/swift,uasys/swift