From: "U.Nakamura" Date: 2001-12-07T10:11:12+09:00 Subject: [ruby-talk:27778] Re: File IO very slow on Windows ("i586-mswin32") Hello, In message "[ruby-talk:27728] File IO very slow on Windows ("i586-mswin32")" on Dec.07,2001 03:48:40, wrote: | Ruby built natively for Win32 is very slow when reading large files. | I use 1.6.5 built on "i586-mswin32". Recently I had a little program | essentially containing just a loop like (snip) | Is this an already known fact ? | Is anything being done to fix it ? We've already known this fact, and fixed it on Ruby 1.7. On my Win2k box, $ wc hoge.log 505778 1914838 22578917 hoge.log $ ruby-1.6 -e "while line = gets; end" hoge.log --> 3m20.899s $ ruby-1.7 -e "while line = gets; end" hoge.log --> 0m8.503s $ perl -e "while (<>) {}" hoge.log --> 0m8.993s Regards -- U.Nakamura