• Guido van Rossum's avatar
    Switch dict lookup around to optimizing for unicode. · 89d8c60d
    Guido van Rossum yazdı
    For now, unicode_eq() is static inside dictobject.c;
    eventually we may have to move it into unicodeobject.c,
    so as to support the same hacks from setobject.c.
    
    None of this seems to affect performance much, but it's still the
    right thing to do.
    89d8c60d
dictobject.c 69.3 KB