A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023636.html below:

[Python-Dev] Making None a keyword

[Python-Dev] Making None a keyword [Python-Dev] Making None a keywordJeremy Hylton jeremy@zope.com
Fri, 26 Apr 2002 10:51:13 -0400
I meant two say things, and tried to be clever at the expense of being
understood :-(.

I think the cleanest way to handle None as a keyword is via a
LOAD_NONE opcode.  LOAD_NONE would replace two different mechanisms
that the compiler currently uses -- LOAD_GLOBAL 'None' and LOAD_CONST
0 (None).

While I think LOAD_NONE would result in a tidy state of affairs, and I
think it would be marginally faster, I don't think the performance
effect would be measurable on any interesting benchmark.  

I don't care how much faster it is, though.

Jeremy





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4