On Mon, 16 May 2005 16:57:12 GMT, Andrew Dalke <[EMAIL PROTECTED]> wrote:
>Peter Dembinski wrote: >> So, the interpreter creates new 'point in address space' every time >> there is object-dot-method invocation in program? > >Yes. That's why some code hand-optimizes inner loops by hoisting >the bound objection creation, as > >data = [] >data_append = data.append >for x in some_other_data: > .... work with x to make y .... > data_append(y) > Sorry about the me-too. I hadn't seen your post. I should know better ;-) Regards, Bengt Richter -- http://mail.python.org/mailman/listinfo/python-list