From: The Higgs bozo Date: 2009-03-28T00:23:17+09:00 Subject: Re: Bug: Ruby 1.9.1 File io on Windows is slooooow Alex Fenton wrote: > > There are sometimes ways round this (eg I rewrote diff/lcs to use string > character enumerators rather than repeated expensive calls to > String#[]). > > I expect the Ruby team are already aware of the problem, and I hope this > is a top priority for 1.9.2. Unfortunately it appears to be a designed-in pessimization, though I initially thought it was a mistake when I saw it. Guido van Rossum (the Python creator) probably did too, as he asked Matz about it at the 40-minute mark here http://www.youtube.com/watch?v=oEkJvvGEtB4 -- Posted via http://www.ruby-forum.com/.