Plasma/libplasma2/lazydataengineevaluation

Jump to: navigation, search

Discussion

The problem with the current DE implementation (QVariants) is that data is kept in memory even if the user didn't request it. (for example, some engine could keep a pixmap ready for a data item, although the applet only wants the title.

http://mail.kde.org/pipermail/plasma-devel/2010-October

Proposed Solution

Restructure DEs not to use QVariants while retaining the same scripting api. Add the lazy evaluation of items - by using proxy classes, functions instead of /real/ values.


This page was last modified on 22 September 2012, at 14:20. This page has been accessed 299 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal