Skip to content

Commit e43b2c5

Browse files
committed
Cache a few more pow10 values since we probably need 2**62 included and previously stopped at 2**61.
1 parent 57e4e6f commit e43b2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quicktions.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cdef object _operator_index = operator.index
5252

5353

5454
# Cache widely used 10**x int objects.
55-
DEF CACHED_POW10 = 62 # sys.getsizeof(tuple[58]) == 512 bytes in Py3.7
55+
DEF CACHED_POW10 = 64 # sys.getsizeof(tuple[58]) == 512 bytes in Py3.7
5656

5757
cdef tuple _cache_pow10():
5858
cdef int i

0 commit comments

Comments
 (0)