Steven D'Aprano wrote:

> Bruno's code has two micro-optimizations. The first is to avoid
> looking up visual.cylinder each time (six times the number of loops) and
> instead only look it up once.

Oh I see. I was thinking the optimization had something to do with 
*calling* the function less often, but that's different from the actual 
lookup I suppose. :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to