From: Roger Pack Date: 2010-02-07T06:16:45+09:00 Subject: [ruby-core:28090] [Bug #1332] Reading file on Windows is 500x slower then with previous Ruby version Issue #1332 has been updated by Roger Pack. Appears that 1) the writes have slowed down, "only" by about 100% (take twice as long to write in ascii 1.9 as in 1.8). Not terrible. 2) the reads have slowed down by something like 40000% (!) I think to avoid the slowdown with reads you can "hack a work around" like c = File.open('out.file','rb') { |f| f.read } c.gsub!("\r\n", "\n") But this seems like there might be a bug in there, too. -rp ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1332 ---------------------------------------- http://redmine.ruby-lang.org