Timeline for Could I have any performance issues if I do ID check while using TextChanged in textbox every time user type a character?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 8, 2011 at 9:14 | comment | added | Mike Nakis | One reason is that you will find it hard to guarantee that the contents of your cache are in sync with the contents of your database. (What if an item gets deleted after the cache has been populated?) Another reason is that it is not scalable. But the main reason is because it is a premature optimization, and premature optimization is the root of all evil. | |
Dec 8, 2011 at 6:15 | comment | added | HelpNeeder | Why an array wouldn't be a good idea? That's what I am using right now. | |
Dec 8, 2011 at 5:51 | history | answered | Mike Nakis | CC BY-SA 3.0 |