Author: Armin Rigo <[email protected]>
Branch:
Changeset: r64112:c21a13690662
Date: 2013-05-15 10:11 +0200
http://bitbucket.org/pypy/pypy/changeset/c21a13690662/
Log: This "fast path" is not any faster than the explicit loop below.
diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py
--- a/rpython/rlib/rbigint.py
+++ b/rpython/rlib/rbigint.py
@@ -458,10 +458,6 @@
if (self.sign != other.sign or
self.numdigits() != other.numdigits()):
return False
-
- # Fast path.
- if len(self._digits) == len(other._digits):
- return self._digits == other._digits
i = 0
ld = self.numdigits()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit