Opened 7 years ago

Closed 7 years ago

#3855 closed enhancement (fixed)

TWKB generations works too much on the heap

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 2.4.0
Component: postgis Version: master
Keywords: Cc:

Description

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.

Change History (3)

comment:1 by pramsey, 7 years ago

Resolution: fixed
Status: newclosed

In 15780:

Improve TWKT performance by avoiding lots of allocations
on the heap. (Closes #3855)

comment:2 by robe, 7 years ago

Resolution: fixed
Status: closedreopened

all this work and no NEWS update or Doc update?

Shouldn't this be under section enhancements?

comment:3 by robe, 7 years ago

Resolution: fixed
Status: reopenedclosed

In 15795:

Note twkb improvements in docs.
Closes #3855

Note: See TracTickets for help on using tickets.