circuitpython/tests/bench/bytealloc-2-repeat.py

8 lines
107 B
Python

import bench
def test(num):
for i in iter(range(num // 1000)):
b"\0" * 10000
bench.run(test)