Opened 5 years ago

Closed 5 years ago

#986 closed enhancement (fixed)

Use std::array instead of std::vector in TopologyLocation.cpp

Reported by: pramsey Owned by: geos-devel@…
Priority: major Milestone: 3.5.3
Component: Default Version: 3.5.1
Severity: Unassigned Keywords:
Cc:

Description

Pretty decent performance improvement from avoiding heap allocations in this part of graph building.

Attachments (1)

topologylocation.patch (6.2 KB ) - added by pramsey 5 years ago.

Download all attachments as: .zip

Change History (6)

by pramsey, 5 years ago

Attachment: topologylocation.patch added

comment:2 by Paul Ramsey <pramsey@…>, 5 years ago

In dfea6aa/git:

Change from std::array to int[]
References #986

comment:3 by Paul Ramsey <pramsey@…>, 5 years ago

In 781fab7/git:

Change from using std::array to int[]
References #986

comment:4 by Paul Ramsey <pramsey@…>, 5 years ago

In 4f71e7b/git:

Use std::array instead of std::vector in TopologyLocation.cpp
References #986

comment:5 by pramsey, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.