Merge lp:~chipaca/snappy/sort-perf into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
John Lenton
on 2015-09-25
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-09-25 |
| 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 | 2015-09-25 | Approve on 2015-09-25 | |
|
Review via email:
|
|||
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!