MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / iter

Function iter

tests/benchmark_sortedset.py:21–22  ·  view source on GitHub ↗
(func, size)

Source from the content-addressed store, hash-verified

19
20@register_test
21def iter(func, size):
22 assert all(idx == val for idx, val in enumerate(func()))
23
24@register_test
25def add(func, size):

Callers 15

test_iterFunction · 0.70
__iter__Method · 0.70
iter_with_descriptionFunction · 0.70
test_newFunction · 0.70
test_iterFunction · 0.70
test_initFunction · 0.70
stress_iterFunction · 0.70
test_iterFunction · 0.70
test_iterFunction · 0.70
stress_iterFunction · 0.70
_build_indexMethod · 0.50
isliceMethod · 0.50

Calls

no outgoing calls

Tested by 8

test_iterFunction · 0.56
test_newFunction · 0.56
test_iterFunction · 0.56
test_initFunction · 0.56
stress_iterFunction · 0.56
test_iterFunction · 0.56
test_iterFunction · 0.56
stress_iterFunction · 0.56