pointless musings on performance

Antoine Pitrou solipsis at pitrou.net
Tue Nov 24 11:05:01 EST 2009


Le Tue, 24 Nov 2009 15:11:29 +0000, Antoine Pitrou a écrit :
> Hello,
> 
> Le Tue, 24 Nov 2009 14:41:19 +0100, mk a écrit :
>> 
>> As Rob pointed out (thanks):
>> 
>> 11          31 LOAD_FAST                0 (nonevar)
>>               34 JUMP_IF_FALSE            4 (to 41)
>> 
>> I'm no good at py compiler or implementation internals and so I have no
>> idea what bytecode "JUMP_IF_FALSE" is actually doing.
> 
> It tries to evaluate the op of the stack (here nonevar)

I meant "the top of the stack" obviously.





More information about the Python-list mailing list