aboutsummaryrefslogtreecommitdiff
path: root/jim.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2023-01-31 16:51:41 +1000
committerSteve Bennett <steveb@workware.net.au>2023-01-31 16:53:23 +1000
commite44134667c52674c0b9bfdab303dc8ddc1c933b8 (patch)
treeb2c2233f4d48ccfa4036be3261cad8991268aaad /jim.c
parent5a09d43250a51c2dc3c76dfebf5184c75b1c410e (diff)
downloadjimtcl-e44134667c52674c0b9bfdab303dc8ddc1c933b8.zip
jimtcl-e44134667c52674c0b9bfdab303dc8ddc1c933b8.tar.gz
jimtcl-e44134667c52674c0b9bfdab303dc8ddc1c933b8.tar.bz2
aio copyto: improve performance for large copies
Rather than continuing to use a small buffer for large copies, if the size exceeds a certain threshold (currently 16kB) switch to a larger, allocated buffer (currently 64kB). This should speed up large copies without penalising small copies. Note that these are simply heuristics and may not be appropriate on all systems. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim.c')
0 files changed, 0 insertions, 0 deletions