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.
10 lines
211 B
10 lines
211 B
from sympy.core.add import Add
|
|
from sympy.core.symbol import Symbol
|
|
from sympy.series.order import O
|
|
|
|
x = Symbol('x')
|
|
l = list(x**i for i in range(1000))
|
|
l.append(O(x**1001))
|
|
|
|
def timeit_order_1x():
|
|
Add(*l)
|