Merge lp:~chipaca/snappy/sort-perf into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
John Lenton
Status: | Merged |
---|---|
Approved by: | Michael Vogt |
Approved revision: | 716 |
Merged at revision: | 716 |
Proposed branch: | lp:~chipaca/snappy/sort-perf |
Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
Diff against target: |
50 lines (+11/-6) 1 file modified
snappy/sort.go (+11/-6) |
To merge this branch: | bzr merge lp:~chipaca/snappy/sort-perf |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt (community) | Approve | ||
Review via email: mp+272372@code.launchpad.net |
Commit message
Speed up VersionCompare.
Description of the change
This speeds up VersionCompare 100× when sorting /usr/share/
It also serves as reminder to pre-compile your regexps.
To post a comment you must log in.
Very nice!