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

Rename get_record_id() to get_table_id() #1428

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Conversation

LaurentiuCristofor
Copy link
Contributor

As an example of the issues cause by the poor naming, find_using_index() was doing an unnecessary round of lookups to retrieve data that was already passed to it! So this change might improve performance a bit as well.

Copy link
Contributor

@senderista senderista left a comment

Choose a reason for hiding this comment

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

Glad you found some wasted work in find_using_index(). It's such a hot path for VLR that maybe it'll make a difference.

@LaurentiuCristofor
Copy link
Contributor Author

Glad you found some wasted work in find_using_index(). It's such a hot path for VLR that maybe it'll make a difference.

I'll run the perf tests with and without this change to see if I detect anything. I'll share the results on slack. Thanks for the fast review!

@LaurentiuCristofor LaurentiuCristofor merged commit d499391 into master Mar 24, 2022
@LaurentiuCristofor LaurentiuCristofor deleted the laur_record_id branch March 24, 2022 18:20
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.

2 participants