Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
None
Description
Calling QImag::scanLine(int) from within a loop will branch to the method, which branch to ::detach, which will branch... This can be easily avoided and gives a 10% speedup on the image_cycler reduction.
http://qt.gitorious.org/~zecke/qt/zeckes-qt/commit/bd70c40d88575394013081d41fb6e4a789e88814
http://qt.gitorious.org/~zecke/qt/zeckes-qt/commit/a4fb0cc5d71993f0b07464762219301eb1be48fc