RunnerModel

Aaron J. Seigo aseigo at kde.org
Mon Nov 21 21:05:38 UTC 2011


On Monday, November 21, 2011 21:55:18 Aaron J. Seigo wrote:
> there is (yet another! :) new branch in plasma-mobile: runnermodel.

one other small note: this is the most naive implementation of the model 
possible (it resets the model contents each time the matches change). already 
it's more performant than the engine was ... but if we find the need to take 
it further, i (or someone else if they wish too :) can improve the 
implementation by preserving the indexes of matches that remain from match to 
match. well, this MIGHT be better .. or it might even be slower due to more 
changes to the indexes (and it would require more processing when matches 
appear).

the one way that might make a big (perceived) difference is that the view may 
keep the item and just move it around instead of clearing the results and 
making new ones appear. so .. animation versus none.

however, this may or may not be an issue. it will require testing on tablets 
and various circumstances.

in any case .. i'm already happy with the improvement.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/active/attachments/20111121/d3c26cb8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/active/attachments/20111121/d3c26cb8/attachment.sig>


More information about the Active mailing list