Now gdbm is used for caching and it seems to work quite well.
I found that using "lmod" key can obtain mtime of medialib entries.
So we compare the cached info in our caceh and the one obtained from
xmms medialib.
If mtimes are the same, don't update the UI.
Now the startup of lxmusic with very large playlist (mine has 5000
songs in it) is fast enough.
I also add version number to the cache file so future format change
won't cause crashes.
Please test the "cache" branch of lxmusic.

If things work well and there is no objection, I want to merge this
back to master branch later.
Thank you all.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to