小编mla*_*nca的帖子

Boost binary archives - reducing size

I am trying to reduce the memory size of boost archives in C++.

One problem I have found is that Boost's binary archives default to using 4 bytes for any int, regardless of its magnitude. For this reason, I am getting that an empty boost binary archive takes 62 bytes while an empty text archive takes 40 (text representation of an empty text archive: 22 serialization::archive 14 0 0 1 0 0 0 0 0).

Is there any way …

c++ serialization boost archive

5
推荐指数
1
解决办法
5191
查看次数

标签 统计

archive ×1

boost ×1

c++ ×1

serialization ×1