> That's interesting. It's dumber than I thought. All temporaries > on the stack are "boxed" as PyObjects. That's simple and portable, > but slow.
Not only that - Python does not ever have the concept of unboxed values, except for local variables in the C implementations of arithmetic operations and system calls. Using true objects is slow only if allocation and deallocation is slow, which it fortunately isn't. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list