From 5dd1211f466346e8c58c550f6f8f5aa18fbe2e8b Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Mon, 16 Jul 2012 14:12:17 +0200 Subject: [PATCH] struct was not packed and therefore allocated four excess bytes per edge-expanded node. --- Contractor/EdgeBasedGraphFactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contractor/EdgeBasedGraphFactory.h b/Contractor/EdgeBasedGraphFactory.h index a2653f69e..e964479a2 100644 --- a/Contractor/EdgeBasedGraphFactory.h +++ b/Contractor/EdgeBasedGraphFactory.h @@ -86,7 +86,7 @@ public: int lat2; int lon1; int lon2:31; - bool belongsToTinyComponent; + bool belongsToTinyComponent:1; NodeID nameID; unsigned weight:31; bool ignoreInGrid:1;