Exemple #1
0
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached
Exemple #2
0
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
Exemple #3
0
 def op_ooidentityhash(self, inst):
     return ootype.ooidentityhash(inst)
Exemple #4
0
def ll_inst_hash(ins):
    cached = ins._hash_cache_
    if cached == 0:
        cached = ins._hash_cache_ = ootype.ooidentityhash(ins)
    return cached