diff options
author | dgp <dgp@users.sourceforge.net> | 2014-07-28 02:06:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-07-28 02:06:53 (GMT) |
commit | 11fd12af2870dc4cd5c239d7f31f8415ac09b732 (patch) | |
tree | 2af568fd6575649cf0053f8eb21f8255bf3c4ce3 /library | |
parent | 3a81bf4def9a43ad4944d7439836e10cf31f55d4 (diff) | |
parent | 3c7cac9ab7d4c249e2bd35d195d72c58db633b1a (diff) | |
download | tcl-11fd12af2870dc4cd5c239d7f31f8415ac09b732.zip tcl-11fd12af2870dc4cd5c239d7f31f8415ac09b732.tar.gz tcl-11fd12af2870dc4cd5c239d7f31f8415ac09b732.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