Some speed improvements in KFileItemModelRolesUpdater

Review Request #106577 - Created Sept. 25, 2012 and submitted - Latest diff uploaded

Information
Emmanuel Pescosta
kde-baseapps
Reviewers
dolphin
freininghaus
Some speed improvements in KFileItemModelRolesUpdater (see KCachegrind screenshots - example sortAndResolvePendingRoles):
- Use QSet.erase() instead of QSet.remove() => no expensive Rehashing 
- Get rid of += in sortAndResolvePendingRoles() 
- Some other small changes

  
Loading...