Python name lookups

Dave zhu_dave at yahoo.com
Mon Oct 10 18:02:30 EDT 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