Re: [Python-Dev] Making PyInterpreterState an opaque type

2019年2月21日 04:48:15 -0800

Le jeu. 21 févr. 2019 à 12:36, Antoine Pitrou <[email protected]> a écrit :
>
> On 2019年2月21日 12:13:51 +0100
> Victor Stinner <[email protected]> wrote:
> >
> > Premature optimization is the root of all evil. Most C extensions use
> > premature optimization
>
> How do you know it's premature? Some extensions _are_ meant for speed.
Sorry, I don't ask to stop optimizing C extension. I'm asking to stop
to use low-level C API like PyTuple_GET_ITEM() if the modified code is
the not the performance bottleneck.
Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to