I have a large boost::ptr_vector
whose content I need to read from disk at runtime.
Currently I'm using a boost::serialization
binary archive to write and read the ptr_vector
. Would reading from disk at runtime be faster if I used a memory mapped file with boost::interprocess
?
If so, does anyone have a mini example that shows how to do this?