From: "U.Nakamura" Date: 2009-11-04T11:04:08+09:00 Subject: [ruby-core:26515] Re: [Bug #1332] Reading file on Windows is 500x slower then with previous Ruby version Hello, In message "[ruby-core:26505] [Bug #1332] Reading file on Windows is 500x slower then with previous Ruby version" on Nov.04,2009 04:50:49, wrote: > I believe that it is doing a string conversion from one encoding ["\r\n"] to another ["\n"]. right. > Perhaps there is a way to speed this up? (ex: special case it somehow)? Currently, we has implemented the newline conversion as a transcode converter, just like encoding conversion. But the design of transcode is too general to use it such a simple operation, as our finding. We want to find a better mechanism which doesn't deviate from the current design of IO... Regards, -- U.Nakamura