Ticket #439 (closed enhancement: fixed)
Improve stringbuffer_t performance
| Reported by: | pramsey | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
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
Note: See
TracTickets for help on using
tickets.
