Cache TodoWidgets to improve performance
Having hundreds of todo items slows down the column UI quite a lot when doing an update. An update basically throws away all widgets and creates them from scratch. That is quite a waste when only one item has changed. Instead, keep all widgets in a cache, retrievable by the todo's raw text. When the raw text changes, a new widget is constructed.
Showing
Please register or sign in to comment