Skip to content
Tcl Source Code Check-in [c7b746822b]
Login

Check-in [c7b746822b]

Overview
Comment: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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c7b746822b7ef119b7343e8bfecdf398f51ccd6b
User & Date: dgp on 2014-07-28 02:06:53.031
Other Links: manifest | tags
Context
2014-07-29
00:22
[3757cdf808] Refactoring seems to reduce (maybe somewhat kinda sorta) a bizarre performance regress... check-in: aee3eac812 user: dgp tags: trunk
2014-07-28
14:50
Bump to 8.6.2 for release. check-in: 3b527b0024 user: dgp tags: core-8-6-2-rc
02:06
An alternative implementation of [chan copy] that operates in precisely those circumstances where th... check-in: c7b746822b user: dgp tags: trunk
01:53
merge trunk closed check-in: 296a1ba317 user: dgp tags: dgp-move-buffers
2014-07-27
22:47
merge-mark check-in: 259fad0956 user: jan.nijtmans tags: trunk
Changes