$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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