Assume an application that shows a data table. The data is loaded from a database when the program is initialized.
Each value in the table is represented by an input field, where each keypress in one of those fields causes a refresh:
- The data is written to the database
- Then, each value in the table is refreshed by reassigning the models to the data
My concern here is that each value is getting updated in order to recompute a summary, even those that weren't touched at all.
Yet, the application runs fast, the update is not causing any inconvenience to the user. Should I refactor my application nevertheless?