micropython/tests/internal_bench/loop_count-2-range_iter.py

10 wiersze
92 B
Python

import bench
def test(num):
for i in iter(range(num)):
pass
bench.run(test)