Python name lookups

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    #1

    Python name lookups

    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!

Working...