Hello!
Should I prefer binary serialization over text serialization if performance is an issue ? Does anybody tested it on a large amount of data ?
Hello!
Should I prefer binary serialization over text serialization if performance is an issue ? Does anybody tested it on a large amount of data ?
I suggest you look into protobuf - Protocol Buffers if performance is an issue
I used boost.serialization to store matrices and vectors representing lookup tables and some meta data (strings) with an in memory size of about 200MByte. IIRC for loading from disk into memory it took 3 minutes for the text archive vs. 4 seconds using the binary archive on WinXP.