diff options
author | Raymond Hettinger <python@rcn.com> | 2003-11-12 14:32:26 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-11-12 14:32:26 +0000 |
commit | 5fb7a4833736f6d62b6b7929be009ee6c7dc2f39 (patch) | |
tree | b9454a4ad6d1b5e1f8014d2bb04a553e7dcdd752 /Python/pythonrun.c | |
parent | f15fc524799ccd71b443631966cb4971a873297d (diff) | |
download | cpython-5fb7a4833736f6d62b6b7929be009ee6c7dc2f39.tar.gz |
Improve the implementation of itertools.tee().
Formerly, underlying queue was implemented in terms of two lists. The
new queue is a series of singly-linked fixed length lists.
The new implementation runs much faster, supports multi-way tees, and
allows tees of tees without additional memory costs.
The root ideas for this structure were contributed by Andrew Koenig
and Guido van Rossum.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions