struct was not packed and therefore allocated four excess bytes per

edge-expanded node.
This commit is contained in:
DennisOSRM 2012-07-16 14:12:17 +02:00
parent 1b98bd2c68
commit 5dd1211f46

View File

@ -86,7 +86,7 @@ public:
int lat2; int lat2;
int lon1; int lon1;
int lon2:31; int lon2:31;
bool belongsToTinyComponent; bool belongsToTinyComponent:1;
NodeID nameID; NodeID nameID;
unsigned weight:31; unsigned weight:31;
bool ignoreInGrid:1; bool ignoreInGrid:1;