~/talk

Tutorial Sneak Peek: "Lazy Looping in Practice..."

Talkat PyCon US 2026 · 2026-05-13..05-19· [python]
slides:none on file

Claims that Python for loops only iterate a single iterable and that common helpers are what enable indexing, reversing, and parallel looping; inspects the enumerate, zip, and reversed implementations to show how they yield items lazily and turn an O(n) allocation into O(1) streaming memory; builds three concrete looping helpers with iterators and generators, runs them on large inputs, and demonstrates they behave correctly and avoid eager copying.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.