def ll_inst_hash(ins): cached = ins._hash_cache_ if cached == 0: cached = ins._hash_cache_ = ootype.ooidentityhash(ins) return cached
def op_ooidentityhash(self, inst): return ootype.ooidentityhash(inst)