Knowledge-check solutions¶
Answers
B — the GIL normally permits only one thread to execute Python bytecode at a time.
A — a measured, stable numerical Python loop can benefit from native types and operations.
C — delayed calls construct a lazy task graph; execution begins at
compute().A — separate processes have separate interpreters and GILs.
B — the hot Cython loop explicitly uses
with nogil.A — repeated inner
compute()calls fragment the graph into small executions.C — a reproducible claim needs the workload, baseline, correctness, hardware, and configuration.