Hi Christophe,

2 seconds? wow, that's an awful lot of time. Are you sure it's just the 
sorting? In this case it might be worth building a specialized sort 
routine. The upside of such a thing is that it can assume the data has a 
certain form, and anticipate on that. This will always beat a general 
solution as angular provides.
Without knowing your data, or the use-case it's hard to give a solid advice 
on this.

I would even consider using a web-worker for this, and also take a good 
look on when the sorting is needed. An option that comes to mind is  to 
just sort the array's that are about to be viewed. Short array's can be 
sorted quick enough, so the user won't notice this.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to