Opened 19 years ago

Closed 19 years ago

#1432 closed defect (fixed)

msAddLine optimization

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone:
Component: MapServer C Library Version: 4.8
Severity: normal Keywords:
Cc:

Description

Baldvin Kovacs proposes the following patch to use realloc() in msAddLine()
to substantially reduce copy time when dealing with shapeobjects with many
lines.

Attachments (1)

msAddLine-relocate.patch (3.1 KB ) - added by fwarmerdam 19 years ago.
patch to use realloc.

Download all attachments as: .zip

Change History (2)

by fwarmerdam, 19 years ago

Attachment: msAddLine-relocate.patch added

patch to use realloc.

comment:1 by fwarmerdam, 19 years ago

Resolution: fixed
Status: newclosed
The patches seem to work fine and I have committed them in 4.7 (cvs head). 
I don't think they need to be backported to 4.6.x. 

Note: See TracTickets for help on using tickets.