Boost logo

Ublas :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2007-01-06 11:12:48


On Jan 2, 2007, at 10:01 PM, Gunter Winkler wrote:

> Am Dienstag, 2. Januar 2007 21:26 schrieb Matthias Troyer:
>> This will still be inefficient since it does not support the array
>> serialization optimization in Boost 1.35 (the CVS head). To be
>> optimal just replace the for loop in storage.hpp by
>>
>> ar & serialization::make_array(data_, size_);
>
> ok, done.
>
> mfg
> Gunter
> <matrix_serialization.diff>
> <storage_serialization.diff>

Hi Gunter,

I've fixed the patches to also serialize the sizes correctly. Using
collection_size_type for the sizes we can support portable
serialization of the size, and efficient handling by MPI.

Matthias