Subject: Re: [boost] [log] Boost.Log formal review
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-03-08 14:53:30
On 08.03.2010 21:22, strasser_at_[hidden] wrote:
> my point was that for those use cases the logging sink must have access
> to the attribute _values_ without expensive intermediate steps like
> storing them in a dynamically allocated tree indexed by a string.
Well, it's not that expensive as you may think. The view composition is
a single memory allocation (not counting ones that may take place during
attribute values acquisition) and no tree rebalancing or anything like
that. There are also no memory allocations and copying for attribute names.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk