[Python-Dev] PEP 550 v3 (original) (raw)
Yury Selivanov yselivanov.ml at gmail.com
Tue Aug 22 02:12:45 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 550 v3
- Next message (by thread): [Python-Dev] PEP 550 v3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Aug 22, 2017 at 2:06 AM, Koos Zevenhoven <k7hoven at gmail.com> wrote: [..]
There will be an optimization: if the LC is empty, we will push NULL to the stack, thus avoiding the cost of allocating an object.
But if LCs are immutable, there needs to be only one empty-LC instance. That would avoid special-casing NULL in code.
Yes, this is true.
Yury
- Previous message (by thread): [Python-Dev] PEP 550 v3
- Next message (by thread): [Python-Dev] PEP 550 v3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]