the string splitting in transitionTo is wasteful and for large payloads can be surprisingly costly. As they never actually change, we should simply cache and forget about them.
the string splitting in transitionTo is wasteful and for large payloads can be surprisingly costly. As they never actually change, we should simply cache and forget about them.

some numbers for (1000 model pushPayload) 
18.3ms -> 3.2ms for transitionTo
intuitivepixel/data,in4mates/ember-data,courajs/data,andrejunges/data,XrXr/data,ryanpatrickcook/data,nickiaconis/data,Robdel12/data,fpauser/data,flowjzh/data,rtablada/data,bcardarella/data,BBLN/data,swarmbox/data,rtablada/data,InboxHealth/data,k-fish/data,martndemus/data,Turbo87/ember-data,webPapaya/data,flowjzh/data,tonywok/data,andrejunges/data,HeroicEric/data,swarmbox/data,BookingSync/data,ryanpatrickcook/data,knownasilya/data,duggiefresh/data,PrecisionNutrition/data,sebweaver/data,webPapaya/data,ryanpatrickcook/data,tonywok/data,Robdel12/data,gniquil/data,whatthewhat/data,lostinpatterns/data,andrejunges/data,heathharrelson/data,jgwhite/data,sebastianseilund/data,martndemus/data,EmberSherpa/data,topaxi/data,wecc/data,Turbo87/ember-data,lostinpatterns/data,whatthewhat/data,davidpett/data,simaob/data,rtablada/data,stefanpenner/data,greyhwndz/data,H1D/data,jmurphyau/data,intuitivepixel/data,sebweaver/data,gabriel-letarte/data,faizaanshamsi/data,funtusov/data,minasmart/data,kimroen/data,Eric-Guo/data,yaymukund/data,sammcgrail/data,Kuzirashi/data,faizaanshamsi/data,usecanvas/data,mphasize/data,fpauser/data,lostinpatterns/data,workmanw/data,offirgolan/data,InboxHealth/data,faizaanshamsi/data,in4mates/ember-data,Eric-Guo/data,sebastianseilund/data,pdud/data,BBLN/data,workmanw/data,funtusov/data,whatthewhat/data,kimroen/data,Eric-Guo/data,knownasilya/data,Kuzirashi/data,andrejunges/data,HeroicEric/data,gniquil/data,dustinfarris/data,bf4/data,intuitivepixel/data,sebweaver/data,danmcclain/data,EmberSherpa/data,danmcclain/data,jmurphyau/data,FinSync/ember-data,eriktrom/data,bcardarella/data,heathharrelson/data,simaob/data,stefanpenner/data,jgwhite/data,acburdine/data,workmanw/data,wecc/data,H1D/data,tstirrat/ember-data,FinSync/ember-data,ryanpatrickcook/data,whatthewhat/data,EmberSherpa/data,sebastianseilund/data,seanpdoyle/data,PrecisionNutrition/data,webPapaya/data,tarzan/data,danmcclain/data,funtusov/data,funtusov/data,webPapaya/data,PrecisionNutrition/data,Kuzirashi/data,tstirrat/ember-data,dustinfarris/data,davidpett/data,vikram7/data,martndemus/data,topaxi/data,swarmbox/data,gkaran/data,usecanvas/data,hibariya/data,H1D/data,martndemus/data,simaob/data,Turbo87/ember-data,davidpett/data,knownasilya/data,fsmanuel/data,duggiefresh/data,arenoir/data,InboxHealth/data,stefanpenner/data,arenoir/data,PrecisionNutrition/data,gabriel-letarte/data,yaymukund/data,mphasize/data,swarmbox/data,minasmart/data,fsmanuel/data,sebastianseilund/data,hibariya/data,acburdine/data,pdud/data,thaume/data,minasmart/data,tstirrat/ember-data,fpauser/data,sammcgrail/data,danmcclain/data,k-fish/data,thaume/data,tstirrat/ember-data,faizaanshamsi/data,greyhwndz/data,duggiefresh/data,hibariya/data,fsmanuel/data,offirgolan/data,stefanpenner/data,FinSync/ember-data,bcardarella/data,workmanw/data,bf4/data,Robdel12/data,HeroicEric/data,sammcgrail/data,duggiefresh/data,acburdine/data,zoeesilcock/data,jmurphyau/data,H1D/data,EmberSherpa/data,pdud/data,gabriel-letarte/data,courajs/data,k-fish/data,trisrael/em-data,courajs/data,nickiaconis/data,splattne/data,courajs/data,arenoir/data,gkaran/data,seanpdoyle/data,yaymukund/data,arenoir/data,bf4/data,heathharrelson/data,heathharrelson/data,BBLN/data,rtablada/data,kappiah/data,thaume/data,vikram7/data,BookingSync/data,eriktrom/data,simaob/data,davidpett/data,kappiah/data,gkaran/data,offirgolan/data,InboxHealth/data,jgwhite/data,gniquil/data,splattne/data,jmurphyau/data,nickiaconis/data,wecc/data,BookingSync/data,minasmart/data,seanpdoyle/data,Robdel12/data,zoeesilcock/data,zoeesilcock/data,acburdine/data,vikram7/data,BookingSync/data,seanpdoyle/data,flowjzh/data,Eric-Guo/data,gabriel-letarte/data,sebweaver/data,FinSync/ember-data,usecanvas/data,XrXr/data,gkaran/data,Turbo87/ember-data,trisrael/em-data,hibariya/data,tarzan/data,vikram7/data,fpauser/data,splattne/data,bf4/data,kimroen/data,dustinfarris/data,kappiah/data,jgwhite/data,in4mates/ember-data,mphasize/data,Kuzirashi/data,gniquil/data,flowjzh/data,dustinfarris/data,splattne/data,kappiah/data,lostinpatterns/data,offirgolan/data,pdud/data,trisrael/em-data,nickiaconis/data,topaxi/data,sammcgrail/data,intuitivepixel/data,zoeesilcock/data,mphasize/data,HeroicEric/data,tarzan/data,tarzan/data,greyhwndz/data,tonywok/data,XrXr/data,eriktrom/data,greyhwndz/data,BBLN/data,XrXr/data,usecanvas/data,fsmanuel/data,topaxi/data,yaymukund/data,eriktrom/data,wecc/data,bcardarella/data,thaume/data,tonywok/data,k-fish/data