You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/06/04 09:49:01 UTC

[jira] [Commented] (AIRFLOW-3990) Use compiled regular expressions

    [ https://issues.apache.org/jira/browse/AIRFLOW-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855515#comment-16855515 ] 

ASF subversion and git services commented on AIRFLOW-3990:
----------------------------------------------------------

Commit b8c5aff6671b7d70220766eee2b6b379bb7519ca in airflow's branch refs/heads/v1-10-test from Joshua Carp
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=b8c5aff ]

[AIRFLOW-3990] Compile regular expressions. (#4813)

(cherry picked from commit 717ddaf737ec1c57244377f73dd0e80e1628576a)


> Use compiled regular expressions
> --------------------------------
>
>                 Key: AIRFLOW-3990
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3990
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1 10.3
>            Reporter: Josh Carp
>            Assignee: Josh Carp
>            Priority: Trivial
>             Fix For: 1.10.4
>
>
> 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)