On Sat, Feb 20, 2010 at 1:10 PM, Don Guinn <[email protected]> wrote: > benefit from mapped files. But if the entire file is to be processed with > little computation involved, and you have lots of real memory available, > mapped files would not out-perform fread. fread might be faster as the > operating system should optimize reading a file sequentially.
Have you tested this? Unless fread is built on a mapped file infrastructure, I would expect mapped files to have a significant advantage over fread for this case. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
