[postgis-tickets] [PostGIS] #4615: Optimize lwout_geojson output
PostGIS
trac at osgeo.org
Fri Jan 3 10:41:07 PST 2020
#4615: Optimize lwout_geojson output
-------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: enhancement | Status: assigned
Priority: medium | Milestone: PostGIS 3.1.0
Component: postgis | Version: master
Keywords: |
-------------------------+---------------------------
Related to https://trac.osgeo.org/postgis/ticket/4543
After #4543 is applied, around half the time spent in the output of
ST_AsGeoJSON of a big polygon (>100k vertices) is spent in sprintf calls,
mainly calculating the length of the strings (which we already know). It
should be possible to remove all this time by replacing it a memcpy calls
or writting the doubles directly in the buffer (instead of writting them
in an auxiliar variable and then into the buffer).
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4615>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list