The mapnik `agg_renderer` will fill the whole image with the map's background before drawing anything anyway. Micro-optimization to skip that if `render_map->background()` is present (it is for osm carto), indicating there is no need for us to zero it ourselves. This is a win of about 0.15% to mapnik CPU currently. It contributes to an upcoming mapnik PR that increases the win to about 0.25% on ARM and 0.5% on X86_64. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/519 -- Commit Summary -- * don't zero the metatile image if mapnik will do it -- File Changes -- M src/gen_tile.cpp (3) -- Patch Links -- https://github.com/openstreetmap/mod_tile/pull/519.patch https://github.com/openstreetmap/mod_tile/pull/519.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/mod_tile/pull/519 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/mod_tile/pull/[email protected]>
_______________________________________________ Tile-serving mailing list [email protected] https://lists.openstreetmap.org/listinfo/tile-serving
