Boost logo

Boost Users :

Subject: [Boost-users] boost serialisation file size comparison
From: Avi Bahra (avibahra_at_[hidden])
Date: 2009-12-08 06:45:45

I have written some test for the different kind of serialization archives
in my application.
In the test below the only difference is the kind of archive used
 ( and use of ios::binary for the binary streams)

ANode:: ...test_node_tree_persistence_text file_size:
ANode:: ...test_node_tree_persistence_binary file_size:
ANode:: ...test_node_tree_persistence_portable_binary file_size: 2878

What I don't understand is why should the binary archive serialization
file size be larger than text ?

  Best regards,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at