[geos-devel] Ability to preallocate the WKT stringstream buffer for really large geometries?

Mateusz Loskot mateusz at loskot.net
Thu Feb 21 03:41:49 PST 2013


On 21 February 2013 09:22, Mats Taraldsvik <mats.taraldsvik at norkart.no> wrote:
> Locally, I have modified the WKTWriter::writeNumber(double d) method to use boost::spirit::karma::real_generator for conversion
> of numbers, instead of std::stringstream.

Just to back up this idea:

http://alexott.blogspot.co.uk/2010/01/boostspirit2-vs-atoi.html

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list