topcontexts

René J.V. Bertin rjvbertin at gmail.com
Sat Apr 7 08:33:53 UTC 2018


Hi,

I hadn't run my kdevelop cache cleanup script for a while (on my Mac) and when I did so the other day it spent a minute or more just deleting all topcontexts directories. A good reminder why I delete them in the 1st place: they're full of often tiny files which slow down the HFS directory compression tool significantly. By extension it doesn't seem far-fetched to assume the current implementation must have some negative impact on overal performance in KDevelop too. I can't back that up, of course; the only way I can think of not to use those topcontexts files is to empty and write-protect the topcontexts directories.

Anyway: normally I'm all for database approaches that use the filesystem but I can't help but wonder in this case if it wouldn't be more efficient to store this information via one of the lightweight database libraries that have been appearing (leveldb, lmdb). Would that make sense here?

R


More information about the KDevelop-devel mailing list