MCPcopy Index your code
hub / github.com/bslatkin/effectivepython / run

Function run

example_code/item_103.py:141–143  ·  view source on GitHub ↗
(queue)

Source from the content-addressed store, hash-verified

139
140def list_append_benchmark(count):
141 def run(queue):
142 for i in range(count):
143 queue.append(i)
144
145 return timeit.timeit(
146 setup="queue = []",

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected