Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-05-01 10:21:20


Jeff Garland wrote:
> Has anyone considered the possibility that Pete's proposal might serve as the
> core for a more efficient lexical_cast?

Are those functions implemented?

> I guess internationalization / locale issues prevent that scenario?

As I pointed out in other thread, I implemented integral2str but
it converts according to "C" locale. I'm going to add thousands_sep
after every group of 3 digits for locales with appropriate grouping.
I expect a slight performance degradation but it should be much
faster then ostringstream anyway.
As I don't know anything about locales with other grouping, I can't
say how efficient integral2str might be for those locales.

-- 
Alexander Nasonov
Project Manager
http://www.akmosoft.com

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