Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Object.observe provide a significant boost to Angularjs?

Right now, Angular slows down after a few thousand objects, which prevents us from building something like a spreadsheet or Conway's Game of Life.

Once Object.observe is implement (in the far, far future), will these become possible with Angular? Or will DOM manipulation be the chokepoint?

like image 264
ehfeng Avatar asked Mar 13 '13 16:03

ehfeng


2 Answers

The answer is yes . checkout here https://mail.mozilla.org/pipermail/es-discuss/2012-September/024978.html

like image 59
surendar Avatar answered Nov 16 '22 04:11

surendar


If you are interested in trying to solve a problem like this now, I recommend taking a look at this video from the AngularJS NYC Meetup from last year which talks about performance problems encountered while trying to implement similar scenarios.

AngularJS NYC Meetup - dfa-stable-repeat and prototyping (2012-11-20)

like image 21
Ryan O'Neill Avatar answered Nov 16 '22 04:11

Ryan O'Neill