Message174632
The memory footprint of itertools.tee can be reduced substantially by using a shared buffer for the child iterators (see sample code). If local queues are desired for efficient threading support, they can be combined with a global queue, allowing to constrain the size of local queues. |
|
Date |
User |
Action |
Args |
2012-11-03 15:15:19 | cami | set | recipients:
+ cami |
2012-11-03 15:15:19 | cami | set | messageid: <1351955719.4.0.453680036148.issue16394@psf.upfronthosting.co.za> |
2012-11-03 15:15:19 | cami | link | issue16394 messages |
2012-11-03 15:15:19 | cami | create | |
|