Revision 5eed87e...
Go back to digest for 16th October 2011Optimization in Office
Boudewijn Rempt committed changes in [calligra] krita/image/kis_async_merger.h:
Do not pass a qbitarray of channelflags if they are all true
The composite ops optimize when an empty channelflags variable is passed:
all channels are then assumed to be turned on. This makes a difference
when doing a valgrind run, where before this patch filling an area
would spend ~20% of cpu time in testBit and after the patch only ~2%.
File Changes
Modified 1 files
- krita/image/kis_async_merger.h
1 files changed in total