From bedfa8af95e74cdfded67a52100bc11efdb14945 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Mon, 24 Jun 2024 12:05:00 -0700 Subject: [PATCH] Be more conservative, because ever retrying a tile is a big speed hit --- tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile.cpp b/tile.cpp index 5f303a03..2ca733bf 100644 --- a/tile.cpp +++ b/tile.cpp @@ -1558,7 +1558,7 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch // only try to make an overzoomable final tile if it seems like it might work long long estimated_output_tile_size = 0.6693 * estimated_complexity - 3.36e+04; - if (estimated_output_tile_size < (long long) (2 * max_tile_size)) { + if (estimated_output_tile_size < (long long) (0.9 * max_tile_size)) { first_detail = 30 - z; second_detail = detail; trying_to_stop_early = true;