Some speed improvements in KFileItemModelRolesUpdater

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

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

  

Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Frank Reininghaus
Frank Reininghaus
Emmanuel Pescosta
Frank Reininghaus
Commit Hook
Emmanuel Pescosta
Review request changed

Status: Closed (submitted)

Loading...