Revision 2f33141...
Go back to digest for 27th January 2013Optimization in KDE Base
Vishesh Handa committed changes in [nepomuk-core/KDE/4.10] /fileindexer:
BasicIndexingQueue: Use stacks instead of queues
Iterating depth first will consume less memory than going breadth first.
Also stacks are based on QVectors which avoid the unnecessary extra
allocation in QLists.
Also, free the QVector memory when it is no longer required.
File Changes
Modified 2 files
- /fileindexer
- services/basicindexingqueue.cpp
- services/basicindexingqueue.h
2 files changed in total