An article by Fredrik Lundh referenced by Jesse Noller. The task is to process a large log file in chunks. This shows incremental improvements, from a straightforward, linear approach, to threading, to multi-processing (using an outmoded approach, since the multiprocessing module wasn't available at the time of writing.)
- Chris Lasher