You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (Jira)" <ji...@apache.org> on 2019/11/20 22:56:01 UTC

[jira] [Resolved] (AIRFLOW-6021) Replace list literal with list constructor

     [ https://issues.apache.org/jira/browse/AIRFLOW-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaxil Naik resolved AIRFLOW-6021.
---------------------------------
    Resolution: Fixed

> Replace list literal with list constructor
> ------------------------------------------
>
>                 Key: AIRFLOW-6021
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6021
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib, core
>    Affects Versions: 1.10.6
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> `[]` is faster than `list()`
> * https://www.reddit.com/r/learnpython/comments/38cjds/is_using_list_preferred_over/
> * https://stackoverflow.com/questions/5790860/and-vs-list-and-dict-which-is-better



--
This message was sent by Atlassian Jira
(v8.3.4#803005)