Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] slow compile times with archive register_type
From: Robert Ramey (ramey_at_[hidden])
Date: 2014-12-13 12:19:32

the archive register function adds a member to an archive local table.
Adding to this table and subsequent usage of the table during lookups might
add some time to the serialization/de-serialization process. Then again it
might not be significant - only experiment with a profiler could discern

Actually I would have a greater concern. The sequence of archive register,
and serialize statements have to be the same when loading as when the
library was saved. If a subsequent version of your program adds an entry to
the register.cpp file, then it won't match the information of stored in
previously made archives. So they won't be readable. Addressing this would
be possible, but also would require extra work.

Robert Ramey

View this message in context:
Sent from the Boost - Users mailing list archive at

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