Skip to content

Don't bother bounds-checking array access in StaticRTree #1988

@danpat

Description

@danpat

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions