Revision b660021...
Go back to digest for 14th August 2011Optimization in Graphics
Andi Clemens committed changes in [digikam] /:
optimizing performance: avoid deep copies (use at() instead of [] whenever
possible)
In general: use const functions
See http://www.slideshare.net/qtbynokia/optimizing-performance-in-qtbased-applications for details.
File Changes
Modified 70 files
- tests/dimagehistorytest.cpp
- digikam/album/albummanager.cpp
- digikam/main/digikamapp.cpp
- digikam/tags/tagspopupmenu.cpp
- digikam/utils/searchmodificationhelper.cpp
- digikam/utils/tooltipfiller.cpp
- digikam/views/digikamview.cpp
- digikam/views/welcomepageview.cpp
- imageplugins/transform/freerotationtool.cpp
- libs/database/albumdb.cpp
- libs/database/collectionmanager.cpp
- libs/database/collectionscanner.cpp
- libs/database/collectionscannerhints.cpp
- libs/database/databasecorebackend.cpp
- libs/database/databaseserverstarter.cpp
- libs/database/databasethumbnailinfoprovider.cpp
- libs/database/databaseurl.cpp
- libs/database/imagecomments.cpp
- libs/database/imagecopyright.cpp
- libs/database/imageinfo.cpp
- libs/database/imageposition.cpp
- libs/database/imagequerybuilder.cpp
- libs/database/imagescanner.cpp
- libs/database/thumbnaildb.cpp
- libs/dmetadata/dmetadata.cpp
- libs/imageproperties/imagepropertiestab.cpp
- libs/models/imagemodel.cpp
- libs/template/templatemanager.cpp
- libs/threadimageio/managedloadsavethread.cpp
- libs/threadimageio/thumbnailtask.cpp
- showfoto/main/showfoto.cpp
- showfoto/setup/setupmisc.cpp
- tests/modeltest/modeltest.cpp
- utilities/advancedrename/advancedrenamemanager.cpp
- utilities/batch/batchsyncmetadata.cpp
- utilities/facedetection/faceiface.cpp
- utilities/facedetection/facepipeline.cpp
- utilities/fuzzysearch/sketchwidget.cpp
- utilities/nepomuk/digikamnepomukservice.cpp
- utilities/searchwindow/choicesearchutilities.cpp
- utilities/searchwindow/choicesearchutilities.h
- utilities/searchwindow/ratingsearchutilities.cpp
- utilities/searchwindow/searchutilities.cpp
- utilities/searchwindow/searchview.cpp
- utilities/setup/cameraselection.cpp
- utilities/setup/setupcategory.cpp
- utilities/setup/setupcollectionview.cpp
- utilities/setup/setupmisc.cpp
- utilities/slideshow/slideshow.cpp
- imageplugins/decorate/superimpose/dirselectwidget.cpp
- imageplugins/enhance/hotpixels/hotpixelfixer.cpp
- imageplugins/enhance/hotpixels/weights.cpp
- libs/database/faces/databaseface.cpp
- libs/database/imagehistory/imagehistorygraphmodel.cpp
- libs/dimg/filters/filteractionfilter.cpp
- libs/dimg/imagehistory/dimagehistory.cpp
- libs/widgets/common/sidebar.cpp
- libs/widgets/iccprofiles/iccprofilescombobox.cpp
- libs/widgets/metadata/metadatalistview.cpp
- libs/widgets/metadata/metadataselector.cpp
- utilities/cameragui/controller/cameracontroller.cpp
- utilities/cameragui/devices/gpcamera.cpp
- utilities/cameragui/main/cameraui.cpp
- utilities/imageeditor/canvas/dimginterface.cpp
- utilities/imageeditor/canvas/undomanager.cpp
- utilities/imageeditor/editor/editorwindow.cpp
- utilities/queuemanager/views/toolsview.cpp
- libs/dimg/filters/decorate/borderfilter.cpp
- libs/dimg/filters/lens/lensfuniface.cpp
- utilities/advancedrename/parser/options/directorynameoption.cpp
70 files changed in total