summaryrefslogtreecommitdiffstats
path: root/PC/import_nt.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-11-12 14:32:26 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-11-12 14:32:26 (GMT)
commitad983e79d6f215235d205245c2599620e33cf719 (patch)
treef6dcc71e1d751c52d72b095806143a692af7d2b0 /PC/import_nt.c
parent767126d7b979020585da0d2b35bda5aae7a40d30 (diff)
downloadcpython-ad983e79d6f215235d205245c2599620e33cf719.zip
cpython-ad983e79d6f215235d205245c2599620e33cf719.tar.gz
cpython-ad983e79d6f215235d205245c2599620e33cf719.tar.bz2
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 'PC/import_nt.c')
0 files changed, 0 insertions, 0 deletions