From kde-devel Thu Mar 24 00:25:14 2011 From: johnm_s2 Date: Thu, 24 Mar 2011 00:25:14 +0000 To: kde-devel Subject: Re: store large amt of Plasma Applet per instance data Message-Id: <4D8A8F6A.60002 () forceway ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=130092631206096 On 03/23/2011 03:41 AM, Aaron J. Seigo wrote: > On Wednesday, March 23, 2011, johnm_s2 wrote: >> I'm developing a plasma applet & I need to store about 500k-2MB of per >> instance data. I'm guessing KConfig / KConfigGroup would not be a good >> idea for this much data..? > > aside from what sebas said, i'd just add that hopefully you are using a > DataEngine/Service pairing for this. storing this kind of data with an applet > directly will break some use cases such as Remote Widgets :) > > Ok I'll look into DataEngine. For now, i've found that I can compress and base64 encode the data down to one ~10k string. That should fit in a KConfig, and then nothing will be broken. -johnm >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<