Skip to content

Commit

Permalink
Increased objects chache size
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Nov 20, 2024
1 parent e10c654 commit cee20e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/mapsforge/mapdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ MapData::MapData(const QString &fileName)
if (!readHeader(file))
return;

_pathCache.setMaxCost(512);
_pointCache.setMaxCost(256);
_pathCache.setMaxCost(1024);
_pointCache.setMaxCost(1024);

_valid = true;
}
Expand Down

0 comments on commit cee20e2

Please sign in to comment.