Small (un-representative) benchmark on sqlite with blobs

Roberto Raggi roberto.raggi at gmail.com
Mon Jun 25 15:05:18 UTC 2007


Hi!

Il giorno 25/giu/07, alle ore 16:33, Andreas Pakulat ha scritto:
>
>> And while on topic.. all data in one blob?? You're only interested in
>> persistence here? It seems to suggest that you will have all of the
>> data (duchain, whatever) in memory during normal operation, but  
>> surely
>> that will use up way too much memory? KDev3 kept (and persisted) only
>> the project PCS in memory, and used bdb for lookups against external
>> libraries. This to keep the memory usage down. (And with large
>> projects, this was a bit too heavy too.)
>
> I'll leave that for David, because I don't know how large AST+DUChain
> stuff might get.

Please, don't save the AST. It's not a good idea. The AST has a lot  
of useless stuff :-) and I think you will end up with some GB of data  
for a project of the size of kdelibs.

ciao robe





More information about the KDevelop-devel mailing list