Boost logo

Boost :

From: Marcin Kalicinski (kalita_at_[hidden])
Date: 2006-03-17 19:31:29


I'm using serialization library to create UDP packets. My program is
sending/receiving hundreds of these each second. I'm currently creating
iarchive/oarchive for every packet sent/received. This is quite a
performance bottleneck. Is it possible to reuse single binary archive object
for all UDP packets? I.e. somehow reinitialize underlying stream with new
data and read/write to the same archive again?

thank you,
Marcin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk