A couple garbage collector questions

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Apr 5 21:41:14 EDT 2001


Skip Montanaro wrote:
> 
> There's no reason to
> increment a reference count and decrement it within the same basic block,

In other words, the programmer will probably have
performed this optimisation himself before the
compiler gets a chance!

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list