Hi Nicola,

While I think that trying is always good, I think instead of hacking it, I 
> would like to approach it theoretically and from first principles. 
>
> To give you an example, just dirty checking might be stopping. If I have 
> 2.000 points, will it replicate that? if I add +10 to each what will 
> happen? 
> If I filter the 2.000 points by x > 10 and that would also change other 
> visualisations, what will happen? 
>
Well, over here we say, the proof is in the pudding. To answer a few of 
your questions, Yes, dirty checking will duplicate it. adding +10 to each 
will hmm, add 10 to each point? Your question probably will be, what 
happens to performance. Well, that is dependent on how you handle it. 
adding +10 itself can be done in 1 go, and will take a few Ms (mostly 
depending on your system!) Have a look at how many times it can be done in 
a second <http://jsperf.com/parsing-an-array>here
Dirty checking might be a tad slower as that, but it will give you an idea 
;)

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.

Reply via email to