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:
4014
ANode:: ...test_node_tree_persistence_binary file_size:
5351
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,
Ta,
   Avi


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