From: YANAGAWA Kazuhisa Date: 2004-02-14T04:06:03+09:00 Subject: Re: slow IO In Message-Id: <4CA13EBB-5E48-11D8-8E72-000393DC9B9C@mac.com> David King Landrith writes: > output.syswrite(input.sysread(count)) Probably here is a problem: many Strings created and discarded may stimulate GC. Can you rewrite this to # buf should be allocated before the loop. input.sysread(count, buf) output.syswrite(buf) and test its performance? Here buf is updated by sysread and no more extra Strings are created. # Note that this feature is incorporated from version 1.7.x or later # where x > ....well, some point :-P -- kjana@dm4lab.to February 14, 2004 Slow and steady wins the race.