micropython/tests/internal_bench/func_builtin-1-enum_pos.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
114 B
Python
Raw Permalink Normal View History

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