Re: [Rhythmbox-devel] Syncing the RhythmDB on every update



Quoting Colin Walters <walters@verbum.org>:

> On Sun, 2004-02-15 at 23:16, Andreas Bombe wrote:
> > I want to get that sorted out.  The database really should be saved to
> > disk on every change immediately (including rating changes).
> 
> The biggest problem with this is larger libraries - it can take as long
> as 5 seconds to save here with 20000 songs; the XML file is over 10
> megs.  Doing that much I/O every time the user wants to rate a song is a
> bit much.
> 
How about stealing the Gnumeric code (or from somewhere else) that 
automatically gzips the file?

And make the saving thread low priority.

Benjamin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]