PDA

View Full Version : Sencha touch 2 production much slower then development



rickert
2 May 2012, 11:10 PM
Hello,
I've just used the command 'sencha app build production' on my application starting up works a lot faster now.
but on startup my applications loops through an array that function is much slower i think at least 600% how is this possible and more important: how to fix this.

mitchellsimoens
4 May 2012, 11:12 AM
Is it your code that is looping through an array? Is it right away when your app loads?

rickert
4 May 2012, 2:05 PM
Is it your code that is looping through an array? Is it right away when your app loads?
The code that loops through an array. The rest is faster.
Strangely enough when i builded it when the new version of the sdk the problem seems te been solved..