Perfomance fixes

This commit is contained in:
Dennis Luxen
2010-09-02 13:01:49 +00:00
parent cc44fef25d
commit e79e36bea9
9 changed files with 105 additions and 48 deletions
-1
View File
@@ -247,7 +247,6 @@ public:
}
bool FindRoutingStarts(const _Coordinate startCoord, const _Coordinate targetCoord, PhantomNodes * routingStarts) {
unsigned fileIndex = getFileIndexForLatLon(startCoord.lat, startCoord.lon);
std::vector<_Edge> candidates;
double timestamp = get_timestamp();
+2 -2
View File
@@ -48,9 +48,9 @@ public:
g->OpenIndexFiles();
}
int getLatitudeOfNode(const NodeID node) const { return int2ExtNodeMap->at(node).lat; }
inline int getLatitudeOfNode(const NodeID node) const { return int2ExtNodeMap->at(node).lat; }
int getLongitudeOfNode(const NodeID node) const { return int2ExtNodeMap->at(node).lon; }
inline int getLongitudeOfNode(const NodeID node) const { return int2ExtNodeMap->at(node).lon; }
NodeID getNumberOfNodes() const { return numberOfNodes; }