Name Lookups

zhu_dave zhu_dave at yahoo.com
Mon Oct 10 15:51:16 EDT 2005


Hello All,

I would like to gather some information on Python's performance. As far as I understand, it 
deals with a lot of string objects. It looks up all names. 
- Is there a way to find out how many name look up operations take place in a Python 
program?
- Is it the name lookup operation or hash operation that degrades performance?
- What function does Python use for name lookup operations? Is it the lookdict function in
Objects/dictobject.c?

Thank you for your help!






More information about the Python-list mailing list