MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / WriteCharData

Method WriteCharData

src/extractor/extraction_containers.cpp:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428void ExtractionContainers::WriteCharData(const std::string &file_name)
429{
430 util::UnbufferedLog log;
431 log << "writing street name index ... ";
432 TIMER_START(write_index);
433
434 files::writeNames(file_name,
435 StringTable{StringTable::IndexedData(
436 name_offsets.begin(), name_offsets.end(), name_char_data.begin())});
437
438 TIMER_STOP(write_index);
439 log << "ok, after " << TIMER_SEC(write_index) << "s";
440}
441
442void ExtractionContainers::PrepareNodes()
443{

Callers

nothing calls this directly

Calls 3

writeNamesFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected