Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve performance of DirectReferenceFilter #1132

Merged
merged 1 commit into from
Jan 18, 2017

Conversation

pvojtechovsky
Copy link
Collaborator

The DirectReferenceFilter should first call super.matches(...), which fast checks whether visited element is of required type. Then it can check equality of that element.
Otherwise the equality is tested for each child element and it is useless.

@monperrus monperrus merged commit cd6dbd8 into INRIA:master Jan 18, 2017
@pvojtechovsky pvojtechovsky deleted the fixDirectReferenceFilter branch January 21, 2017 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants