On Friday, 1 February 2013 at 09:09:10 UTC, bioinfornatics wrote:
As i use a memory mapped file i won't copy my struct for able to
loop as i do not want map the file twice that is rather a big
problem for a big file this a perf issue. memory mapped file is
used to read fastly a file so is a nonsense

Oh yeah: MmFile is a class, so copying it is free. The problem though is that it is shallow, so modying a struct copy will (partially) modify the original struct.

Reply via email to