Message 63270 - Python tracker (original) (raw)

I noticed that my patch uses Py_TYPE(self)->tp_hash, whereas normal processing of slot_tp_hash() uses lookup_method(self,"hash",hash_str).

I am almost sure that both expressions return the same value. Is this correct? Py_TYPE(self)->tp_hash seems much faster.