[geos-commits] [SCM] GEOS branch 3.9 updated. 17658cbe9c48d6ddc8856201944ee6e67b701a1a
git at osgeo.org
git at osgeo.org
Tue Oct 19 14:43:11 PDT 2021
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, 3.9 has been updated
via 17658cbe9c48d6ddc8856201944ee6e67b701a1a (commit)
via bc9385367ba75025ec6f7ab7b1172fa8e51eb1f1 (commit)
from 1a3eb3f0a8a10278236dc19280a7f5249be4e75c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 17658cbe9c48d6ddc8856201944ee6e67b701a1a
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Oct 19 14:43:06 2021 -0700
News entry about improvement in EdgeRing performance
diff --git a/NEWS b/NEWS
index b606e2125..df5521027 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Changes in 3.9.2
- Fix DiscreteFrechetDistance to use initial points of input lines (#1128, Martin Davis)
- Avoid stack overflow in KdTree::queryNode (Even Roualt)
- Avoid raising double overflow signals in distance calcs (Paul Ramsey)
+ - Fix performance issue in buffer building (Paul Ramsey)
Changes in 3.9.1
commit bc9385367ba75025ec6f7ab7b1172fa8e51eb1f1
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Oct 19 12:30:19 2021 -0700
Allow std::vector to control its own capacity during in-fill by EdgeRing traversal. Removes large performance issue in buffer against Australia case.
diff --git a/src/geomgraph/EdgeRing.cpp b/src/geomgraph/EdgeRing.cpp
index 551520932..319610a0b 100644
--- a/src/geomgraph/EdgeRing.cpp
+++ b/src/geomgraph/EdgeRing.cpp
@@ -316,7 +316,6 @@ EdgeRing::addPoints(Edge* edge, bool isForward, bool isFirstEdge)
assert(edgePts);
size_t numEdgePts = edgePts->getSize();
- pts.reserve(pts.size() + numEdgePts);
if(isForward) {
if(isFirstEdge) {
edgePts->toVector(pts);
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
src/geomgraph/EdgeRing.cpp | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list