Plasma/libplasma2/lazydataengineevaluation: Difference between revisions
< Plasma | libplasma2
(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...") |
(No difference)
|
Latest revision as of 13:20, 22 September 2012
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.