Menu

#14 Improve the load & save speed for the RAW method

open
4
2009-11-17
2009-11-17
No

The RAW method uses a very simple for-loop that reads/writes each integer and each float in a separate call to the stream read/write functions.

The more optimal solution would be to use buffered reads/writes - but be careful not to use too much memory (RAW should have a smaller memory footprint than MG1 and MG2)!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB