osrm-backend/DataStructures
Patrick Niklaus f90ce77da4 Use differential encoding for name offsets
Each name is represented as an integer range in a vector of chars.
Instead of storing the absolute offset inside this array, we can store
only the offset to the previous entry (the string size). By doing this we reduce
the number of bytes need to store an offset from 4 to 1 bytes (if we
set a maximum string length of 255).
This is however slower, since the absolute offset must be computed on
each querry by summing up all previous lengths. To limit the
performance inpact we only do this for blocks of a certain size (16).
2014-06-12 22:00:03 +02:00
..
BinaryHeap.h replace UINT_MAX with proper numeric limits call 2014-05-07 10:38:31 +02:00
ConcurrentQueue.h Remove extra mutex unlocking in ConcurrentQueue.h 2014-06-04 18:01:48 +06:00
Coordinate.cpp remove superflous include 2014-06-06 19:18:44 +02:00
DeallocatingVector.h move BinaryHeap to C++11 2014-05-07 10:38:31 +02:00
DynamicGraph.h Replace omp atomic with std variant 2014-05-21 21:49:22 +02:00
EdgeBasedNode.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
HashTable.h removing boost cref and betting on move semantics 2014-05-09 19:10:11 +02:00
HilbertValue.cpp migrate HilbertValue class to C++11, use fwd decl, remove boost/integer 2014-05-07 14:47:23 +02:00
HilbertValue.h migrate HilbertValue class to C++11, use fwd decl, remove boost/integer 2014-05-07 14:47:23 +02:00
ImportEdge.cpp further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
ImportEdge.h further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
ImportNode.cpp further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
ImportNode.h moved ImportNode/Edge into compile units 2014-05-29 18:31:02 +02:00
InputReaderFactory.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
JSONContainer.h implements output generation through a dedicated JSON container: 2014-05-20 14:33:00 +02:00
LRUCache.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
NodeBasedGraph.h remove duplicate edges from NodeBasedGraph 2014-06-05 15:33:24 +02:00
OriginalEdgeData.h refactor list of const static int into scoped enum 2014-05-08 18:04:05 +02:00
Percent.h fixes #1032: 2014-05-22 18:39:11 +02:00
PhantomNodes.h add proper c'tor to PhantomNode 2014-05-29 17:15:41 +02:00
QueryEdge.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
QueryNode.h make c'tor of NodeInfo explicit 2014-06-11 18:26:34 +02:00
RangeTable.h Use differential encoding for name offsets 2014-06-12 22:00:03 +02:00
RawRouteData.h use correct edge weight type in PathData 2014-05-28 18:20:29 +02:00
Restriction.h replace UINT_MAX by numeric limits max() 2014-05-07 17:25:35 +02:00
RestrictionMap.cpp fixes #1041, some only_ turn restrictions are inverted under certain conditions 2014-06-10 17:26:05 +02:00
RestrictionMap.h fixes #1041, some only_ turn restrictions are inverted under certain conditions 2014-06-10 17:26:05 +02:00
RouteParameters.cpp make temporary variables const 2014-05-22 14:41:02 +02:00
SearchEngine.h simplify static asserts 2014-06-05 22:55:22 +06:00
SearchEngineData.cpp further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
SearchEngineData.h further include untangling, chops 5sec compile time 2014-06-11 12:25:57 +02:00
SegmentInformation.h use EdgeWeight typedef where possible 2014-06-03 11:28:39 +02:00
SharedMemoryFactory.h reformat SharedMemoryFactory according to code guidelines 2014-06-11 15:22:51 +02:00
SharedMemoryVectorWrapper.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
StaticGraph.h sort edges in StaticGraph in parallel 2014-05-23 14:32:40 +02:00
StaticKDTree.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
StaticRTree.h fixes #1041, some only_ turn restrictions are inverted under certain conditions 2014-06-10 17:26:05 +02:00
TurnInstructions.h add curly braces to one line if 2014-05-20 15:37:18 +02:00
XORFastHash.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00
XORFastHashStorage.h migrate DataStructures to C++11 2014-05-07 18:39:16 +02:00