Python name lookups

Dave zhu_dave at yahoo.com
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
Objects/dictobject.c?

Thank you for your help!


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



More information about the Python-list mailing list