Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] [file_mapping] is there any way to avoid writing a modified file to disc?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-12-08 05:16:29


Den 07-12-2011 19:37, Bill Buklis skrev:
>
>>> I also speculate if its actually any faster, since I need to change
>>> every single byte in the memory region (I'm decrypting).

> writes. However, I think for what you're doing you may be better off
> reading the file into normal memory and manipulating it there. Even with
> copy on write, you're essentially forcing the OS (through a write
> protected memory exception) to copy the file into memory anyway.

Ok. Thanks! That's what I'm doing now.

-Thorsten


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net