D9236: Fill lists of default-constructed types directly, not append any by value
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Thu Dec 7 08:45:58 UTC 2017
kossebau created this revision.
kossebau added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
When creating lists of known sizes for types whose instances are set up each
by initially creating a default contructed one, which then is further
modified before being appended by value to the list, it should be quicker to
instead fill the list in one go with all default constructed instances and
then walk over each for the further modification.
REPOSITORY
R32 KDevelop
BRANCH
createdefaultconstructedonlistheap
REVISION DETAIL
https://phabricator.kde.org/D9236
AFFECTED FILES
kdevplatform/debugger/util/pathmappings.cpp
kdevplatform/language/codegen/sourcefiletemplate.cpp
kdevplatform/project/projectfiltermanager.cpp
plugins/clang/codecompletion/completionhelper.cpp
plugins/custom-buildsystem/custombuildsystemconfig.h
plugins/debuggercommon/miframestackmodel.cpp
plugins/debuggercommon/registers/registercontroller_arm.cpp
plugins/debuggercommon/registers/registercontroller_x86.cpp
plugins/lldb/controllers/framestackmodel.cpp
plugins/quickopen/projectfilequickopen.cpp
To: kossebau, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171207/851eb7a3/attachment.html>
More information about the KDevelop-devel
mailing list