Sander,

give something like {{::foo}} is there a way to ask Angular to re-evaluate the 
expression after is considered “stable”?

.m

From: [email protected] [mailto:[email protected]] On Behalf Of 
Sander Elias
Sent: domenica 27 luglio 2014 11:40
To: [email protected]
Subject: [AngularJS] Re: Why ng-repeater decrease render performance as the 
number of rows increases

Hi Prem,

After I updated your jsbin, the creation of every row took under a single Ms. 
The same for every row. row 1 and row 700 alike.
So the problem is not angular updating the DOM.
I guess your problem is that you have a massive amount of 2 way bindings. This 
will slow down the page a lot.
(if you have 700 rows, with 5 bindings each, that's 3500!! bindings, all of 
those will run on every update of the page.)
you are say you have a complex model, so the true amount of bindings will 
probably a lot higher even than the 3500 I just mentions.
On a reasonable modern computer, in my experience up to 4000 bindings isn't a 
big problem, provided that it are all well written ones!

Do you really need all those bindings? Your user is scanning your table, and 
updates it by hand? The data is highly dynamic, and needs
to be updated as soon as anything comes in from the server?

Also version 1.0.5 is quite old. The newer version of angular are way better 
equipped to deal with large(r) number of bindings.
Starting with 1.3.beta-10 (there is a version 17 already!) there is support for 
one-time bindings. I think this will solve your problem with the least of 
effort.

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]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to