From fdc1e4b0d50b8243aa3dfe28d9f3820512903cb4 Mon Sep 17 00:00:00 2001 From: Carl Friedrich Bolz-Tereick Date: Sat, 20 May 2023 12:00:38 +0200 Subject: after some more testing: we can reduce the minimum size for when to use the new algorithm for rbigint.fromstr --- rpython/rlib/rbigint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py index e3b3e617ce..ce19b7e377 100644 --- a/rpython/rlib/rbigint.py +++ b/rpython/rlib/rbigint.py @@ -2265,7 +2265,7 @@ class LimitHolder: HOLDER = LimitHolder() HOLDER.DIV_LIMIT = 21 HOLDER.STR2INT_LIMIT = 2048 -HOLDER.MINSIZE_STR2INT = 6000 +HOLDER.MINSIZE_STR2INT = 4000 def _extract_digits(a, startindex, numdigits): -- cgit v1.2.3-65-gdbad