Python name lookups

Dave zhu_dave at
Tue Oct 11 00:02:30 CEST 2005

Hello All,

As far as I understand, Python deals with a lot of
string objects, i.e. it looks up all names. Is there a
way to find out how many name lookup 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

Thank you for your help!

Start your day with Yahoo! - Make it your home page!

More information about the Python-list mailing list