Opened 10 years ago

Closed 9 years ago

#439 closed enhancement (fixed)

Improve stringbuffer_t performance

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


Our borrowed stringbuffer_t implementation isn't very smart, speedwise, it needs some love and polish. For example avoid all this memory allocating and deallocating when printing formatted strings, print to a static buffer with snprintf and only do allocation tricks if you overrun the limit. Also, increase the buffer size more aggressively, allocate a buffer right at the start.

Change History (1)

comment:1 Changed 9 years ago by pramsey

Resolution: fixed
Status: newclosed

Done as of r6359

Note: See TracTickets for help on using tickets.