[pypy-commit] pypy gc_no_cleanup_nursery: kill debug prints from dict
fijal
noreply at buildbot.pypy.org
Wed Sep 3 22:41:48 CEST 2014
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc_no_cleanup_nursery
Changeset: r73292:2efd57cc1412
Date: 2014-09-03 14:41 -0600
http://bitbucket.org/pypy/pypy/changeset/2efd57cc1412/
Log: kill debug prints from dict
diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py
--- a/rpython/rtyper/lltypesystem/rdict.py
+++ b/rpython/rtyper/lltypesystem/rdict.py
@@ -616,22 +616,18 @@
i = i & mask
# keep 'i' as a signed number here, to consistently pass signed
# arguments to the small helper methods.
- llop.debug_print(lltype.Void, "looking in", i)
if not entries.everused(i):
if freeslot == -1:
freeslot = intmask(i)
return r_uint(freeslot) | HIGHEST_BIT
elif entries.valid(i):
- llop.debug_print(lltype.Void, "found!", hash, entries.hash(i))
checkingkey = entries[i].key
if direct_compare and checkingkey == key:
return i
if d.keyeq is not None and entries.hash(i) == hash:
# correct hash, maybe the key is e.g. a different pointer to
# an equal object
- llop.debug_print(lltype.Void, "hashes compare")
found = d.keyeq(checkingkey, key)
- llop.debug_print(lltype.Void, "found", found)
if d.paranoia:
if (entries != d.entries or
not entries.valid(i) or entries[i].key != checkingkey):
More information about the pypy-commit
mailing list