MCPcopy Index your code
hub / github.com/RustPython/RustPython / list_count_builtins.py

File list_count_builtins.py

benches/microbenchmarks/list_count_builtins.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1l = [i for i in range(ITERATIONS)]
2
3# ---
4l.count(1)

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected