[Python-Dev] optimizing non-local object access
Thu, 9 Aug 2001 14:22:02 -0400 (EDT)
I haven't thought through whether it's a win for integers. I expect
it would be a win for instances, particularly when several methods are
called on the instances. My assumption is that the cost of an extra
type dispatch pass through the interpreter loop is offset by the
ability to quickly resolve attribute names.
This is at best half-baked, so I don't expect to be too convincing. I
still need to convince myself.