In a few places in the StaticRTree, we are accessing the coordinate list via the .at() vector call.
We could gain a little speedup here by adding a BOOST_ASSERT for use debug mode, then using the [] operator which avoids the bounds tests of at().
|
FixedPointCoordinate(coordinate_list.at(current_element.u).lat, |
In a few places in the StaticRTree, we are accessing the coordinate list via the
.at()vector call.We could gain a little speedup here by adding a
BOOST_ASSERTfor use debug mode, then using the[]operator which avoids the bounds tests ofat().osrm-backend/include/util/static_rtree.hpp
Line 137 in 908a9e9