Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
140
def
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
append
Method · 0.45
Tested by
no test coverage detected