[postgis-tickets] [PostGIS] #4900: pg_qsort can be faster in GIST

PostGIS trac at osgeo.org
Mon Apr 26 08:49:08 PDT 2021


#4900: pg_qsort can be faster in GIST
--------------------------+---------------------------
  Reporter:  komzpa       |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.1.2
 Component:  postgis      |    Version:  master
Resolution:               |   Keywords:
--------------------------+---------------------------

Comment (by mdavis):

 Copying original post:

 The pg_qsort() in postgis' gserialized_gist_picksplit_2d() likely could
 substantially benefit from using
 https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0a1f1d3cac6baaa3744b89336673caba702f7628

 {{{
 Add sort_template.h for making sort functions.

 Move our qsort implementation into a header that can be used to define
 specialized functions for better performance and reduced duplication.
 }}}

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