[pypy-commit] pypy improve-rbigint: Unnecessary code removal

stian noreply at buildbot.pypy.org
Sat Jul 21 18:40:58 CEST 2012


Author: stian
Branch: improve-rbigint
Changeset: r56313:a9b44897cc6b
Date: 2012-06-22 02:26 +0200
http://bitbucket.org/pypy/pypy/changeset/a9b44897cc6b/

Log:	Unnecessary code removal

diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py
--- a/pypy/rlib/rbigint.py
+++ b/pypy/rlib/rbigint.py
@@ -979,10 +979,6 @@
             return rbigint()     # zero
         else:
             return _x_mul(a, b)
-
-    if asize == 1:
-        # Then _x_mul will always be faster.
-        return _x_mul(a, b)
     
     # If a is small compared to b, splitting on b gives a degenerate
     # case with ah==0, and Karatsuba may be (even much) less efficient


More information about the pypy-commit mailing list