Click to See Complete Forum and Search --> : mapped files


cvbalu
November 16th, 2001, 11:24 AM
what are the advantages of memory mapped files over conventional file i/o ?

Thanks in advance for any information regarding this

No body walks alone

James Curran
November 16th, 2001, 11:44 AM
They tend to be fastest, particularly when you have a very large file.
They let you work the standard pointers, instead of file read & write fucntions.
Any function that works with chr* (strlen, STL etc) can work directly on the file.

Truth,
James
http://www.NJTheater.com
http://www.NovelTheory.com
I don't do it for the points (OK, maybe I do), but rating a post is a good way for me to know if I helped.