497250ba9c
The multiline regex rule used to detect docs code snippets greater than 76 characters in length has considerable cost to. For the high level rest client project alone, this was taking upwards of 3 minutes. This commit updates the rule regex pattern to use non-greedy matching when appropriate which results in a lot fewer backtracks and about a 70% reduction in execution time on the high level rest client module. |
||
---|---|---|
.. | ||
groovy/org/elasticsearch/gradle | ||
java/org/elasticsearch/gradle | ||
resources |