[issue1739789] Accelerate attr dict lookups

Raymond Hettinger report at bugs.python.org
Fri Sep 17 20:44:29 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

This was an interesting idea.  Essentially, it created cell-style objects for entries in a global dict so that functions using load_global could access and update the values directly.

All dicts paid a price for this, but only module dicts would benefit.  A more refined approach would be to create a custom dict type just for module globals.

Mark, you're right.  The patch appears to have been abandoned and not generated interest.

----------
resolution:  -> out of date
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1739789>
_______________________________________


More information about the Python-bugs-list mailing list