sapling/phabricator
Stanislau Hlebik dd1bfa42b8 phabdiff: precompile regexes
Summary:
I got the following profile results when profiling smartlog:

{P56936293}

It suggests that regex compiling takes too much time. I tend to think that
profiling is inaccurate in this case because with this diff I didn't get any
noticable speed up. But this diff won't do any harm.

Test Plan: arc unit

Reviewers: #sourcecontrol, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4387265

Signature: t1:4387265:1483724595:43de3c694109be2d4343d8ebdbc7ab79aa9edb04
2017-01-09 01:37:48 -08:00
..
__init__.py add arcconfig accessors 2016-04-27 09:27:56 -07:00
arcconfig.py add arcconfig accessors 2016-04-27 09:27:56 -07:00
conduit.py pyflakes: fix all pyflakes issues 2016-11-25 00:23:21 +00:00
diffprops.py phabdiff: precompile regexes 2017-01-09 01:37:48 -08:00