copy_stream uses IO.trysplice instead of IO.splice
commitfd131dcbf7a9c098099c00790f504908bc2c94a4
authorEric Wong <normalperson@yhbt.net>
Sat, 26 Feb 2011 22:40:48 +0000 (26 14:40 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 26 Feb 2011 22:40:48 +0000 (26 14:40 -0800)
treec4fabe0a5f2d6e2c0b51a89162d4abc85fe808db
parentb9119424bdd41e417afae354329e9b6d298baff4
copy_stream uses IO.trysplice instead of IO.splice

Things should be slightly faster this way.
lib/io/splice.rb