[postgis-tickets] [PostGIS] #3855: TWKB generations works too much on the heap

PostGIS trac at osgeo.org
Wed Sep 20 12:57:34 PDT 2017


#3855: TWKB generations works too much on the heap
-------------------------+---------------------------
 Reporter:  pramsey      |      Owner:  pramsey
     Type:  enhancement  |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.4.0
Component:  postgis      |    Version:  trunk
 Keywords:               |
-------------------------+---------------------------
 Checking a profile of TWKB it becomes pretty clear that for large numbers
 of small objects it spends an inordinate amount of time allocating and
 deallocating memory, mostly handling bytebuffers on the heap. Sticking
 those buffers on the stack, and also having the buffers use a default
 static buffer initially makes things *much* faster.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3855>
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