
18 Mar
2006
18 Mar
'06
12:31 a.m.
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