[ scummvm-Patches-1416897 ] Possible list widget optimization

SourceForge.net noreply at sourceforge.net
Fri Jan 27 21:48:28 CET 2006


Patches item #1416897, was opened at 2006-01-27 21:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1416897&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible list widget optimization

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1416897&group_id=37116




More information about the Scummvm-tracker mailing list