kuroko/bench/list.py
2022-06-04 12:13:38 +09:00

11 lines
181 B
Python

from fasttimer import timeit
if True:
l = []
def func():
l.append(1)
l.pop()
print(min(timeit(func,number=100000) for x in range(10)), "list append")