Opened 6 years ago

Last modified 6 years ago

#18969 closed enhancement

Improve performance of validator checks — at Initial Version

Reported by: GerdP Owned by: team
Priority: normal Milestone: 20.03
Component: Core validator Version:
Keywords: performance Cc:

Description

Some tests are executed for each element of the data set although they are only interested in tagged objects. Mosts tests which extend Test.TagTest should override method isPrimitiveUsable()

    @Override
    public boolean isPrimitiveUsable(OsmPrimitive p) {
        return p.isTagged() && super.isPrimitiveUsable(p);
    }

to improve performance.
Be careful, see r16154

Change History (0)

Note: See TracTickets for help on using tickets.