Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dabeaz/python-cookbook
/ example.py
File
example.py
src/14/make_your_programs_run_faster/example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
time
2
def
test(func):
3
start = time.time()
4
nums = range(1000000)
Callers
nothing calls this directly
Calls
1
test
Function · 0.70
Tested by
no test coverage detected