Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
def
iter(func, size):
22
assert all(idx == val
for
idx, val in enumerate(func()))
23
24
@register_test
25
def
add(func, size):
Callers
15
test_iter
Function · 0.70
__iter__
Method · 0.70
iter_with_description
Function · 0.70
test_new
Function · 0.70
test_iter
Function · 0.70
test_init
Function · 0.70
stress_iter
Function · 0.70
test_iter
Function · 0.70
test_iter
Function · 0.70
stress_iter
Function · 0.70
_build_index
Method · 0.50
islice
Method · 0.50
Calls
no outgoing calls
Tested by
8
test_iter
Function · 0.56
test_new
Function · 0.56
test_iter
Function · 0.56
test_init
Function · 0.56
stress_iter
Function · 0.56
test_iter
Function · 0.56
test_iter
Function · 0.56
stress_iter
Function · 0.56