2014-05-07 11:14:48 -04:00
|
|
|
import bench
|
2018-05-14 14:43:34 -04:00
|
|
|
from collections import namedtuple
|
2014-05-07 11:14:48 -04:00
|
|
|
|
2014-12-20 10:37:40 -05:00
|
|
|
T = namedtuple("Tup", ["num", "bar"])
|
2014-05-07 11:14:48 -04:00
|
|
|
|
|
|
|
def test(num):
|
|
|
|
t = T(20000000, 0)
|
|
|
|
i = 0
|
|
|
|
while i < t.num:
|
|
|
|
i += 1
|
|
|
|
|
|
|
|
bench.run(test)
|