MCPcopy Index your code
hub / github.com/grantjenks/python-sortedcontainers / add

Function add

tests/benchmark_scale.py:184–187  ·  view source on GitHub ↗

Repeatedly add number from numbers to sorted list.

(obj, numbers)

Source from the content-addressed store, hash-verified

182
183@timeit
184def add(obj, numbers):
185 "Repeatedly add number from numbers to sorted list."
186 for number in PROGRESS(numbers, 'add'):
187 obj.add(number)
188
189
190@timeit

Callers 1

benchmark_addFunction · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected