Hey Sander, Just saw your comment on Nana's question. I am also using classes for mapping the data which I receive from server side apis. You said class will use more memory and cpu. Please tell me what should i use instead ?
Thanks, Himanshu. On Wed, 5 Jun 2019, 09:52 Sander Elias, <sanderel...@gmail.com> wrote: > Hi Nana, > > Why are you using a class? That will add memory and CPU pressure for every > row! > Also, you can filter out the extra data. but that takes an extra effort. > If it really that much? What's the reason you don't want this data in > memory? > When it is about security, filtering them out from memory, doesn't do you > any good. (it is still available in the network tab, and anyone that wants > to know can do the same request, outside of your code) > > If this is a real issue, it should be solved at your server side. > > Regards > Sander > > -- > You received this message because you are subscribed to the Google Groups > "Angular and AngularJS discussion" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to angular+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > Visit this group at https://groups.google.com/group/angular. > To view this discussion on the web visit > https://groups.google.com/d/msgid/angular/b7c75d83-badb-4b00-a2c0-7bb9c3db8151%40googlegroups.com > <https://groups.google.com/d/msgid/angular/b7c75d83-badb-4b00-a2c0-7bb9c3db8151%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/CAEw5jY_7KbLekA85sai8jO2DEZ_qhLjsLHr7E2RWZ85ZBFAn4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.