Merge lp:~gz/brz/unlazy_reg into lp:brz
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~gz/brz/unlazy_reg |
Merge into: | lp:brz |
Diff against target: |
231 lines (+13/-97) 7 files modified
breezy/__init__.py (+0/-12) breezy/lazy_regex.py (+2/-39) breezy/log.py (+5/-3) breezy/plugins/grep/grep.py (+2/-5) breezy/tests/test_lazy_regex.py (+4/-31) breezy/tests/test_source.py (+0/-5) brz (+0/-2) |
To merge this branch: | bzr merge lp:~gz/brz/unlazy_reg |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+358919@code.launchpad.net |
Commit message
Remove replacement of re.compile for lazy_regexp
Description of the change
Remove replacement of re.compile for lazy_regexp
On a typical invocation less than 10 regexp compilations are avoided
and most of those are in configobj. This is less than a millisecond
saving in general, which makes the complexity and other potential
issues with monkey patching probably not worth while.
Leave the LazyRegexp proxy object around which is used in various
places and generally harmless when expected.
To post a comment you must log in.
Running landing tests failed /ci.breezy- vcs.org/ job/brz/ job/brz- land/48/
https:/