2014-06-19 21:44:33 +03:00
|
|
|
import bench
|
|
|
|
|
2020-03-22 21:26:08 -05:00
|
|
|
|
2014-06-19 21:44:33 +03:00
|
|
|
def test(num):
|
2020-03-22 21:26:08 -05:00
|
|
|
for i in iter(range(num // 10000)):
|
2014-06-19 21:44:33 +03:00
|
|
|
l = [0] * 1000
|
|
|
|
l2 = bytes(map(lambda x: x, l))
|
|
|
|
|
2020-03-22 21:26:08 -05:00
|
|
|
|
2014-06-19 21:44:33 +03:00
|
|
|
bench.run(test)
|