A log pipeline does rows = list(read_rows(path)), wraps rows in a generator, then consumes the first ten matches. Explain memory use, read-ahead, early stopping, and who closes the file.
Advanced · Engineering discussion
Audit a supposedly streaming pipeline
generators · resource ownership · performance
Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.