Plasma/libplasma2/lazydataengineevaluation

From KDE Community Wiki
Revision as of 13:20, 22 September 2012 by Afiestas (talk | contribs) (Created page with "==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 ke...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.