summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-28 02:06:53 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-28 02:06:53 (GMT)
commitc6eb718dfd01df6d6a47986e76cd033e39122a27 (patch)
tree2af568fd6575649cf0053f8eb21f8255bf3c4ce3 /library
parente98326383bb5432fcb4447c72de7aac27d4328b6 (diff)
parenta1bd6bc4343da4c9b876ae0bd87538da527e10e4 (diff)
downloadtcl-c6eb718dfd01df6d6a47986e76cd033e39122a27.zip
tcl-c6eb718dfd01df6d6a47986e76cd033e39122a27.tar.gz
tcl-c6eb718dfd01df6d6a47986e76cd033e39122a27.tar.bz2
An alternative implementation of [chan copy] that operates in precisely
those circumstances where the incumbent implementation is known to perform a byte-for-byte copy from input channel to output channel. In that case, the new implementation ceases the activity of copying every byte from buffer to buffer to buffer to buffer to effect the copy. Instead it arranges for the very same buffer the input channel read driver read into to be the buffer the output channel write driver writes out from. No data copying (or even examining) at all. When the proper conditions apply, this ought to be noticeably faster.
Diffstat (limited to 'library')
0 files changed, 0 insertions, 0 deletions