[Python-Dev] PEP 285: Adding a bool type
Guido van Rossum
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
--Guido van Rossum (home page: http://www.python.org/~guido/)