[Tile-serving] [openstreetmap/osm2pgsql] Expire code fiddling (PR #1883)
Jochen Topf
notifications at github.com
Sat Jan 14 21:43:20 UTC 2023
Various small changes in expire code, see individual commits.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1883
-- Commit Summary --
* Use std::swap instead of std::move to "steal" dirty tiles
* Add some tests checking expiry of a line
* Use std::swap to swap double instead of using temp variable
-- File Changes --
M src/expire-tiles.cpp (7)
M tests/test-expire-tiles.cpp (99)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1883.patch
https://github.com/openstreetmap/osm2pgsql/pull/1883.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1883
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1883 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230114/c188e8c9/attachment.htm>
More information about the Tile-serving
mailing list