Expand initial Heap size to 16K to reduce occurrences of resizing
This commit is contained in:
parent
40e554e1cf
commit
3ec0a1eabb
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ void TrackedTriangle::update(Subdivision& s)
|
||||||
GreedySubdivision::GreedySubdivision(Map *map)
|
GreedySubdivision::GreedySubdivision(Map *map)
|
||||||
{
|
{
|
||||||
H = map;
|
H = map;
|
||||||
heap = new Heap(128);
|
heap = new Heap(16384);
|
||||||
|
|
||||||
int w = H->width;
|
int w = H->width;
|
||||||
int h = H->height;
|
int h = H->height;
|
||||||
|
|
Loading…
Add table
Reference in a new issue