gmpc memory usage 5
I’ve did some small test on the config system used in gmpc. (it’s used for the config file, the metadata cache file and the profile file)
The config files takes about 10kbyte of memory, the profiles 1.1 kbyte. But the cover db takes 661kbyte. This isn’t a shocking amount of memory, but on a total memory usage of +-3mbyte, it’s quiet alot.
The cover-db has 1674 categories with in total 6046 key pairs. this is 341kbyte of plain-text data. This data is internally stored in a “tree”. You have a root node, with under it all the category nodes, and below that the values. (witch can contain another subclass with more values.). Not sure how I can do this better without loosing performance.