struct was not packed and therefore allocated four excess bytes per
edge-expanded node.
This commit is contained in:
parent
1b98bd2c68
commit
5dd1211f46
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user