Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-09-07 11:37:08


"Reece Dunn" <msclrhd_at_[hidden]> wrote in message
news:BAY24-F4KAputaSLGE800068dfb_at_hotmail.com...
> Carlo Wood wrote:

>
> >Actually putting that text in a std::string and doing
> >some work on it should be in user code imho.
>
> This would be inefficient in most contexts. Especially if you have a complex
> filter chain with inbuilt buffers that are only concerned with
> character-by-character processing.

FWIW, the authors of the filtering proposal mentioned by Dietmar Kuehl -- JC van
Winkel and John van Krieken -- tried an implementation of filtering in which
filters communicate through std::strings, and found it had very poor
performance.

Jonathan


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