From: Michael Campbell Date: 2003-04-18T09:19:25+09:00 Subject: Re: Need IO Optimization help --- Jim Freeze wrote: > On Friday, 18 April 2003 at 3:19:08 +0900, Michael Campbell wrote: > > > > >> In my experience, the fastest way to access files (by far) > is > > > mmap. > > > > > > Jim, I may be mis-remembering, but wasn't your original > > task/goal/test to compare perl, ruby, (and others) at IO? If so, > > isn't using Ruby+C extensions....cheating, somehow? > > Why would this be cheating? As I said, I may not understand what you are trying to do. But if you're comparing perl to ruby, compare perl to ruby, not perl to ruby + C. If you "win" with ruby + C, could you not do the exact same enhancement with perl, and end up where you started? As a contrived example, if it's a simple "copy" test, and 'cp' is rippingly fast, then why not just use system('cp foo bar')? I mean, that's ruby, right? __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com