[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: store large amt of Plasma Applet per instance data
From:       johnm_s2 <s2 () forceway ! com>
Date:       2011-03-24 0:25:14
Message-ID: 4D8A8F6A.60002 () forceway ! com
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic