On Mon, Jan 30, 2012 at 5:05 PM, Maciej Fijalkowski <[email protected]>wrote:

> I think it does not matter, and for
> more than one reason in this particular case (on of those being that
> even though bool objects are boxed, there are only two of them - True
> and False)
>

Probably this is another question: what about using 1 and 0 instead of True
and False?

In (your) jitviewer i see that the "infinite while loops" 'while 1' is
better than 'while True'. Am i right? Is it faster in the validatePhone
case too? Is it possible to remove this (very small) overhead with the JIT?

Thanks
-- 

Davide Setti
code: http://github.com/vad
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to