[Differential] [Request, 117 lines] D328: Introduce KDevelop::Stack (replaces QStack)
kfunk (Kevin Funk)
noreply at phabricator.kde.org
Sun Sep 6 16:56:54 UTC 2015
kfunk created this revision.
Herald added a subscriber: kdevelop-devel.
REVISION SUMMARY
See class documentation for more details.
When using KDevelop::Stack instead of QStack the heap allocations go almost done to zero
within KDevelop. QStack::pop in particular is implemented *very*
inefficient, every call causes a realloc b/c QStack tries to squeeze the
container.
REPOSITORY
rKDEVPLATFORM KDevPlatform
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D328
AFFECTED FILES
language/duchain/appendedlist.h
language/duchain/builders/abstractcontextbuilder.h
language/duchain/builders/abstractdeclarationbuilder.h
language/duchain/builders/abstracttypebuilder.h
language/duchain/builders/abstractusebuilder.h
language/duchain/problem.h
language/duchain/types/typeregister.h
language/util/setrepository.cpp
util/CMakeLists.txt
util/stack.cpp
util/stack.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: kfunk
Cc: kdevelop-devel
More information about the KDevelop-devel
mailing list