removed some old stuff, added profiler, minor performance tuning

This commit is contained in:
Arndt 2016-08-20 18:53:50 +02:00
parent 42e9ddbdd1
commit f70dd3c3ac
22 changed files with 234 additions and 802 deletions

View file

@ -35,8 +35,6 @@ public final class NodesCache
private OsmFile[][] fileRows;
private ArrayList<MicroCache> segmentList = new ArrayList<MicroCache>();
public DistanceChecker distanceChecker;
public WaypointMatcher waypointMatcher;
public boolean first_file_access_failed = false;
@ -212,7 +210,7 @@ public final class NodesCache
long id = node.getIdFromPos();
if ( segment.getAndClear( id ) )
{
node.parseNodeBody( segment, nodesMap, distanceChecker );
node.parseNodeBody( segment, nodesMap );
}
if ( garbageCollectionEnabled ) // garbage collection