osrm-backend/Extractor
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
..
BaseParser.cpp Port extractor to TBB 2014-05-21 21:49:22 +02:00
BaseParser.h refactor Extractor/ 2014-05-09 16:17:31 +02:00
ExtractionContainers.cpp Use differential encoding for name offsets 2014-06-12 22:00:03 +02:00
ExtractionContainers.h Avoid constexpr by #ifdef (not supported in MSVC18) 2014-06-11 18:15:16 +06:00
ExtractionHelperFunctions.h const as const can 2014-06-06 18:06:05 +02:00
ExtractionWay.h refactor Extractor/ 2014-05-09 16:17:31 +02:00
ExtractorCallbacks.cpp rename variable to a shorter name 2014-06-03 10:44:09 +02:00
ExtractorCallbacks.h replacing all boost unordereds 2014-05-09 18:40:07 +02:00
ExtractorStructs.h fix a couple of OCLint warning, i.e. short variable names and useless parantheses 2014-05-30 10:01:55 +02:00
InternalExtractorEdge.h refactor Extractor/ 2014-05-09 16:17:31 +02:00
PBFParser.cpp fix a couple of OCLint warning, i.e. short variable names and useless parantheses 2014-05-30 10:01:55 +02:00
PBFParser.h refactor Extractor/ 2014-05-09 16:17:31 +02:00
ScriptingEnvironment.cpp fix a couple of OCLint warning, i.e. short variable names and useless parantheses 2014-05-30 10:01:55 +02:00
ScriptingEnvironment.h Port extractor to TBB 2014-05-21 21:49:22 +02:00
XMLParser.cpp fix a couple of implicit signed/unsigned conversions 2014-06-06 18:05:07 +02:00
XMLParser.h remove useless parantheses, straighten includes 2014-05-26 12:49:49 +02:00