A RetroSearch Logo

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

Search Query:

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

[Python-Dev] PEP 285: Adding a bool type

[Python-Dev] PEP 285: Adding a bool type [Python-Dev] PEP 285: Adding a bool typeGuido van Rossum guido@python.org
Thu, 04 Apr 2002 09:56:30 -0500
> On a side note, writing 'i or False and True' performs much better
> than bool(i) in the test implementation, and flow control statements
> involving ints are perform much better than flow control using bool.
> Will there be a performance degredation in the final version, or can
> this be avoided?

That surprises me.  Can you show your benchmark?

(I don't have the time to respond to the rest of your arguments, which
have been brought up and responded to enough times in this
discussion.)

--Guido van Rossum (home page: http://www.python.org/~guido/)




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