mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
bf85483c99
This commit prevents repeated insertions of single items into the list m_itemData, which shift all following items by one position and result in O(N^2) worst case complexity for the entire function. Moreover, the hash m_items is updated only for the items starting from the first inserted/removed item to save some superfluous calculations of hash values. REVIEW: 110355 |
||
---|---|---|
src | ||
AUTHORS | ||
CMakeLists.txt | ||
COPYING | ||
COPYING.DOC | ||
README |
See http://dolphin.kde.org for information about Dolphin.