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

Filter invocation improvements #7902

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Aug 4, 2017

We are doing quite a few operations on the RubyEvent that benefit from a proper hashcode and equals method.
The ones we get from RubyObject aren't very efficient for our purposes (since the RubyEvent holds no state, all we care about is reference equality anyway).

Overall this seems to speed up larger batches slightly.

@guyboertje
Copy link
Contributor

I agree. Nice find.

Copy link
Contributor

@guyboertje guyboertje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticsearch-bot
Copy link

Armin Braun merged this into the following branches!

Branch Commits
master ce4b854, 532a030
6.x 30e7adf, 18018e1

elasticsearch-bot pushed a commit that referenced this pull request Aug 4, 2017
@original-brownbear original-brownbear mentioned this pull request Aug 15, 2017
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants