[postgis-tickets] [PostGIS] #4543: Use Ryū to output floating point numbers

PostGIS trac at osgeo.org
Fri Jan 10 07:29:15 PST 2020


#4543: Use Ryū to output floating point numbers
--------------------------+---------------------------
  Reporter:  Algunenano   |      Owner:  Algunenano
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 3.1.0
 Component:  liblwgeom    |    Version:  master
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------
Changes (by Raúl Marín <git@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"04f93f166054550bec87bc14ad435b42228b287e/git" 04f93f1/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="04f93f166054550bec87bc14ad435b42228b287e"
 Introduce ryu to print doubles

 This massively (x10) speeds up lwprint_double and will be followed up
 by improvements to improve other output functions that rely on it.

 There has been some complications in adapting the function itself since
 the output used by Postgis is by no means standard, choosing the number
 of decimal digits based on the integer digits, user input and size
 of the input buffer (although it should always be big enough)

 Closes #4543
 Closes https://github.com/postgis/postgis/pull/523
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4543#comment:5>
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