2014-06-19 14:44:33 -04:00
|
|
|
import bench
|
|
|
|
|
2020-03-22 22:26:08 -04:00
|
|
|
|
2014-06-19 14:44:33 -04:00
|
|
|
def test(num):
|
2020-03-22 22:26:08 -04:00
|
|
|
for i in iter(range(num // 10000)):
|
2014-06-19 14:44:33 -04:00
|
|
|
l = [0] * 1000
|
|
|
|
l2 = bytearray(l)
|
|
|
|
|
2020-03-22 22:26:08 -04:00
|
|
|
|
2014-06-19 14:44:33 -04:00
|
|
|
bench.run(test)
|