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

8 wiersze
90 B
Python

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