Merge lp:~rodrigo-moya/ubuntuone-client/use-hash-tables into lp:ubuntuone-client
Proposed by
Rodrigo Moya
Status: | Merged |
---|---|
Approved by: | Nicola Larosa |
Approved revision: | 59 |
Merged at revision: | not available |
Proposed branch: | lp:~rodrigo-moya/ubuntuone-client/use-hash-tables |
Merge into: | lp:ubuntuone-client |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~rodrigo-moya/ubuntuone-client/use-hash-tables |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lucio Torre (community) | Approve | ||
dobey (community) | Approve | ||
Review via email: mp+7936@code.launchpad.net |
Commit message
[r=dobey, r=lucio.torre] Use GHashTable instead of GSList for a slight performance win
To post a comment you must log in.
Searching in GSList's can become quite slow when the uploads/ downloads/ shares lists become big (think 'uploading my whole photo collection') since it needs to iterate over the whole list. Using hash tables should be quicker for small lists and much more quicker for big/huge ones