~openstreetmap/josm/trunk

  • Committer: taylor.smock
  • Date: 2024-12-19 21:13:29 UTC
  • Revision ID: svn-v4:0c6e7542-c601-0410-84e7-c038aed88b3b:trunk:19272
See #24046: Reduce cost of Geometry#filterInsidePolygon when a primitive is a relation

This was done by checking that the bounds of the polygon contain the bounds of
the multipolygon ring before creating an area from the multipolygon ring.

If the polygon does ''not'' contain the bounds of the ring, then at least part
of the ring is outside the polygon, and thus is not inside the polygon.

Measurements using validators at (57.5183581,-75.0512982),(57.2181217,-73.9434821):
* CPU: -87%
* Memory: -62%

Please note that the test area is still very expensive in
Geometry#filterInsideMultipolygon (note the `Multipolygon`).
Filename Latest Rev Last Changed Committer Comment Size
..
file-associations 17802 3 years ago Don-vip see #17083 - generate jpackaged application on Win Diff
linux 15672 4 years ago Don-vip see #18140 - reorganization of data(_nodist), imag Diff
macosx 15672 4 years ago Don-vip see #18140 - reorganization of data(_nodist), imag Diff
windows 15672 4 years ago Don-vip see #18140 - reorganization of data(_nodist), imag Diff
docker-test.bat 17642 3 years ago Don-vip move packaging/distribution files to native folder 174 bytes Diff Download File
docker-test.sh 18467 1 year ago taylor.smock Fix #22832: Code cleanup and some simplification, 177 bytes Diff Download File
Dockerfile 17642 3 years ago Don-vip move packaging/distribution files to native folder 275 bytes Diff Download File
josm-latest.jnlp 18885 3 months ago taylor.smock See #23837: Set `-XX:MaxRAMPercentage` to >25% of 2 KB Diff Download File
josm.jnlp 18885 3 months ago taylor.smock See #23837: Set `-XX:MaxRAMPercentage` to >25% of 2.1 KB Diff Download File
snapcraft.yaml 17642 3 years ago Don-vip move packaging/distribution files to native folder 1.8 KB Diff Download File