-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve destructor performance by 97% on very large folders
- Use iter_swap/pop_back idiom to improve FolderData::removeChild() performance - Re-order deletions to take advantage of iter_swap/pop_back idiom - Add FolderData::bulkRemoveChildren() and use it for removal of virtual folders - Prevent inefficient unlinking of child files from a folder being destroyed
- Loading branch information
Showing
2 changed files
with
44 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters