0
Beantwortet
Will 200 preferences slow an app down?
I'm thinking about adding about 200 spots in my app where a user can set a preference by marking a piece of content by its color. When a user goes to mark a preference the action would run through 200 if statements, and there would be 200 preference calls in the action set to oninit="yes". And there would be five colors for each preference to be set to, which would mean the addition of about 1,000 lines of code. Would this slow the app's start up and run speed noticeably?
0
Wird überprüft
icahill (Administrator) vor 11 Jahren
There could be potential for slow down depending on how you build it, but once a preference is set, it will be stored in the app's memory until the app is removed from the device, so unless you are updating that preference in every user session, it should be fine to use those values.
0
dpotter05 vor 11 Jahren
Thanks!
0
Beantwortet
icahill (Administrator) vor 11 Jahren
Customer support service by UserEcho