Wednesday, December 24, 2008
mmap in OCaml
I'm learning OCaml and have been trying to find a way to mmap a file in OCaml so that I can efficiently treat it as a giant string in memory. I finally happened across this code for a Bigstring module which does essentially what I want. Reading the code provides some good pointers on other parts of OCaml's standard library that handle memory mapping of files.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment