[
https://issues.apache.org/jira/browse/AIRFLOW-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783397#comment-16783397
]
ASF GitHub Bot commented on AIRFLOW-3990:
-----------------------------------------
Fokko commented on pull request #4813: [AIRFLOW-3990] Compile regular
expressions.
URL: https://github.com/apache/airflow/pull/4813
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Use compiled regular expressions
> --------------------------------
>
> Key: AIRFLOW-3990
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3990
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Josh Carp
> Assignee: Josh Carp
> Priority: Trivial
>
> Some regular expressions are evaluated many times. To save a little time, we
> should compile regular expressions with `re.compile` in advance instead of
> potentially recompiling for each use.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)