Revision 640156

Go back to digest for 11th March 2007

Optimization in Multimedia

Ovidiu Gheorghioiu committed changes in /branches/stable/extragear/multimedia/amarok/src:

Speed up Playlist::saveXML by about 40% by writing to the stream directly and careful buffering. The method is critical, as it runs every time the playlist is changed, so improvements here affect overall responsiveness. In my build ~5100 items saves in ~2.2s instead of ~3.6s

File Changes

Modified 2 files
  • /branches/stable/extragear/multimedia/amarok/src
  •   /metabundle.cpp
  •   /playlist.cpp
2 files changed in total