You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
207 B

from sympy.core.add import Add
from sympy.core.symbol import Symbol
from sympy.series.order import O
x = Symbol('x')
l = [x**i for i in range(1000)]
l.append(O(x**1001))
def timeit_order_1x():
Add(*l)