Boost logo

Boost :

Subject: Re: [boost] [log] Review attempt
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-03-11 12:41:57


On 03/11/2010 11:28 AM, Roland Bock wrote:
>
> Regarding the use of Spirit within Boost.Log: If I get it right,
> spirit::karma supposed to be extremely fast in serializing. In another
> thread I read that one of the performance issues is the serialization of
> DateTime (http://lists.boost.org/Archives/boost/2010/03/162905.php).
>
> Would it make sense to use karma here to speed things up?

Yes, one of my thoughts was to rework Boost.DateTime IO to employ
Boost.Spirit. Another thing that ought to be done is to parse format
strings only once, during the facet initialization. And the third thing
is to move all that code into the compiled binary of Boost.DateTime. It
really adds quite a bit to users' binary size now.


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