Boost logo

Boost :

Subject: Re: [boost] Boost.Chain over at Github
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-03-18 06:37:16


On 18/03/2011 03:49, Dean Michael Berris wrote:

> That's fine, I deal with lots of network I/O as part of the HTTP
> implementation in cpp-netlib and it would be really good if I can step
> away from std::string from the internals to support larger strings
> without having to induce too much fragmentation when concatenating
> strings. The intention is to have suitably efficient (not necessarily
> optimal) string representations for code that need to deal with both
> small and potentially huge strings.

Then you need a string which layout is compatible with the vectored I/O
API provided by the system (readv/writev on POSIX,
ReadFileScatter/WriteFileGather on Win32).


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