
On Nov 24, 2005, at 9:27 PM, Robert Ramey wrote:
Felipe Magno de Almeida wrote:
Creating a "buffered_archive" wouldnt require copying? And as Matthias have already put, it is an unacceptable overhead. I'm having some ideas about a 'fake_buffered'_archive.
LOL - then then have your archive send the data whereevery you want it to. The point is that the 10x speed up demonstration on which this whole thread rests is based on using the current binary_?archive which (apparently) won't be the mechanism which will eventually be used.
Just to clarify: there are a number of usage cases where an array optimization will be useful. One is a binary archive (into files or buffers), another usage case is MPI message passing without copying into a buffer. Thus the proposed test is relevant, and we're working on it. Matthias