Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Project-OSRM/osrm-backend
/ ReleaseOsmNodes
Method
ReleaseOsmNodes
src/extractor/node_based_graph_factory.cpp:234–238 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
232
}
233
234
void NodeBasedGraphFactory::ReleaseOsmNodes()
235
{
236
// replace with a new vector to release old memory
237
extractor::PackedOSMIDs().swap(osm_node_ids);
238
}
239
240
} // namespace osrm::extractor
Callers
1
run
Method · 0.80
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected