From: Robert Klemme Date: 2007-10-24T17:34:11+09:00 Subject: Re: Scattered I/O (on MS Windows) 2007/10/23, Daniel Berger : > Hi all, > > Park Heesob and I came up with a custom implementation for > IO.readlines using scattered I/O I thought would be fun to share. I > think I'm seeing a 2x performance increase, but page caching is making > it difficult to tell. Also, it looks like the main profiling issue is > the call to 'split' at the end, so you can remove that last bit of > logic if you want to see the speed without it. > > What do folks think? Are you seeing a performance increase? You > probably won't see any noticeable difference unless the file is > greater than 25mb or so, btw. Can't test it at the moment. But I wonder how a scattered read can help with #readlines which reads a file sequentially. AFAIK scattered reading is for reading different portions of the same file. Kind regards robert