mapbox / mapnik-vector-tile

Mapnik implemention of Mapbox Vector Tile specification
BSD 3-Clause "New" or "Revised" License
553 stars 117 forks source link

Fix slow raster allocation #203

Closed springmeyer closed 8 years ago

springmeyer commented 8 years ago

Avoids 4096x4096 allocation of rasters at https://github.com/mapbox/mapnik-vector-tile/blob/eb12d120b07dc7cc8af9b588e95681e86375b69b/src/vector_tile_processor.ipp#L238-L239 which is extremely slow.

This fixes the behavior to be compatible with the 0.14.x series.

Followup work needed at #202