Possible list widget optimization
|Reported by:||eriktorbjorn||Owned by:||lordhoto|
This is an attempt at speeding up screen redraws for the list widget. It's not very well tested: In fact, I've only tested it on the game list, i.e. numbered mode is untested, as is editing.
The idea is to keep track of the length of the strings, and only update as much of the line as necessary: The maximum of the current and previous lengths.
It does seem to make scrolling the game list slightly snappier. At least with the new theme. With the old theme (which is now the slower one for this case) I didn't notice much of a difference, really. Maybe there's a different bottleneck there.
Ticket imported from: #1416897. Ticket imported from: patches/615.