1
0
Fork 0

Expand initial Heap size to 16K to reduce occurrences of resizing

This commit is contained in:
Scott Giese 2019-01-20 17:57:31 -06:00
parent 40e554e1cf
commit 3ec0a1eabb

View file

@ -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;