Mercurial > hg
view hgext/__init__.py @ 27327:d500341e4f55
match: use re2 in readpatternfile if possible
This has a small, but measurable, effect on performance if a pattern
file is very large. In an artificial test with 200,000 lines of
pattern data, using re2 reduced read time by 200 milliseconds.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 10 Dec 2015 21:33:55 -0800 |
parents | 7d439981bec4 |
children | 155e3308289c |