Hi Jeroen!

On Sat, Dec 19, 2009 at 12:33 AM, Jeroen Habraken <[email protected]> wrote:
>
> On Fri, Dec 18, 2009 at 08:07, Dean Michael Berris
> <[email protected]> wrote:
>> Hi Everyone,
>>
[snip]
>
> This is some very nice progress,

Thanks!

> there is one thing that comes to mind
> though considering chunked transfers. These can get very large, and
> storing them in a string could lead to a lot of reallocations of that
> string I believe.

Yeah, unless you use an ostringstream which manages memory better than
the normal string.

> Maybe a rope,
> http://en.wikipedia.org/wiki/Rope_(computer_science), is an option as
> a data structure to store the chunks.
>

Yup, but unfortunately they aren't part of the standard C++ library IIRC.

> I'll have a proper look at the interface you propose tonight if I have time.

Thanks, feedback is very much appreciated!

-- 
Dean Michael Berris
blog.cplusplus-soup.com | twitter.com/mikhailberis
linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to