Revision 641052

Go back to digest for 11th March 2007

Optimization in Multimedia

Mark Kretschmann committed changes in /trunk/extragear/multimedia/amarok/src:

Patch by Ovy:

Simplify, speed up AtomicString using QT4 thread safe refcounting.

Simplifications: no more lazy deletes, checking for main thread.
Speed-ups: refcounting is generally outside the store lock now; some methods became trivial and could be inlined easily.

@Ovy: moving the ~AtomicString() definition to the cpp file fixed the linker problem for me.

File Changes

Modified 4 files
  • /trunk/extragear/multimedia/amarok/src
  •   /app.cpp
  •   /atomicstring.cpp
  •   /atomicstring.h
  •   /CMakeLists.txt
4 files changed in total