From 3ec0a1eabba004ae1d9f694f81a5d713bb89ad56 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sun, 20 Jan 2019 17:57:31 -0600 Subject: [PATCH] Expand initial Heap size to 16K to reduce occurrences of resizing --- src/Prep/Terra/GreedyInsert.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prep/Terra/GreedyInsert.cc b/src/Prep/Terra/GreedyInsert.cc index 22be0b6f..b60d14cc 100644 --- a/src/Prep/Terra/GreedyInsert.cc +++ b/src/Prep/Terra/GreedyInsert.cc @@ -24,7 +24,7 @@ void TrackedTriangle::update(Subdivision& s) GreedySubdivision::GreedySubdivision(Map *map) { H = map; - heap = new Heap(128); + heap = new Heap(16384); int w = H->width; int h = H->height;