circuitpython/tests/bench/func_builtin-1-enum_pos.py

8 lines
110 B
Python

import bench
def test(num):
for i in iter(range(num//20)):
enumerate([1, 2], 1)
bench.run(test)