Boost logo

Boost :

Subject: Re: [boost] [lexical_cast] efficiency
From: Domagoj Saric (dsaritz_at_[hidden])
Date: 2010-01-19 15:58:19


"OvermindDL1" <overminddl1_at_[hidden]> wrote in message
news:3f49a9f41001180312s74592ff6hb68f3ea13541ddb9_at_mail.gmail.com...

> ...Although you can still do that pretty easily with Spirit2...

Wow...cool :) thanks for the examples ;)

> Boost.Lexical_cast is made for simplicity, not speed, although much of
> it could certainly be sped up if Boost.Spirit become part of its
> back-end, and with some template magic it can even fall back to
> stringstream if spirit does not know how to parse it directly (thus
> you would need to supply a grammar).

My thoughts exactly (no need to 'break-change' the interface...only change the
implementation)...

-- 
 "That men do not learn very much from the lessons of history is the most
important of all the lessons of history."
 Aldous Huxley

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