Hey guys, thank you very much for the feedback. This is essentially what I wanted to know. Simply whether I was missing a piece of the puzzle. It helps a lot.
Yes, I do understand the principle behind "don't optimize prematurely", I get that, I do. But I do feel there is a difference in "optimizing prematurely" and "admitting you have limited knowledge". I am a bad java script programmer. It is my second weakest language. I am very weak in that area, and I have built sites in the past that had huge performance bottlenecks because I didn't investigate certain things upfront when building it, and it was very difficult to go back and fix them. I wanted to try and avoid that, this time. On Thu, Sep 11, 2014 at 10:49 AM, Tony pee <[email protected]> wrote: > I wouldnt think that creating scopes would really affect performance. > Watches are the thing that will eventually slow you down (when you have > many thousands). You should look at bindOnce (native in 1.3.10+ via :: > prefix) if you find that an issues. In general, performance is quite snappy > in most cases. Large lists are the downfall (create lots of watches) and so > you should look to bindOnce of use a virtual scrolling library - which ony > renders visible items. Otherwise i'd say, design your directives with > functionality in mind. > > > On 10 September 2014 20:25, Sander Elias <[email protected]> wrote: > >> Hi Stacey, >> >> Isolated scopes are about separating concerns, not about performance. >> That being said. the 'hit' you get on performance is barely measurable. >> I can't say there isn't >> one, but it's not worth worrying about. This is the don't optimize >> prematurely all over again. >> >> 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. >> > > > > -- > Tony Polinelli > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/A6xRMfQYwfA/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
