If upgrading is not possible, this project <https://github.com/Pasvaz/bindonce> may be helpful.
On Sunday, July 27, 2014 2:40:25 AM UTC-7, Sander Elias wrote: > > 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]. 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.
