[Zope-dev] local namespace optimizations?

Sidnei da Silva sidnei at enfoldsystems.com
Wed Jul 5 16:57:36 EDT 2006


On Wed, Jul 05, 2006 at 10:29:34PM +0200, dieter at handshake.de wrote:
| That would extremely surprise me:
| 
|   While global lookup was significantly optimized,
|   it is still an lookup with a string as argument.
| 
|   For local lookup on the other hand, the compiler has
|   turned the name into an index and at runtime, an
|   indexed access it made. That is still faster.

Hum. Hum. Wonder where my brain is. I wish I could find the email with
the benchmarks to make me look less silly.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the Zope-Dev mailing list