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

Do not call get_unique_id if not needed. #29

Merged

Conversation

birdsarah
Copy link
Contributor

We had a big performance hit from the get_unique_id method, and didn't need it, so moved it to only need as required.

get_unique_id can cause a performance overhead, so only call
if neeeded.
quandyfactory added a commit that referenced this pull request Dec 10, 2014
Do not call get_unique_id if not needed.
@quandyfactory quandyfactory merged commit 856b693 into quandyfactory:master Dec 10, 2014
@quandyfactory
Copy link
Owner

Thank you! That is a nice optimization. There is one other place where the code needs to be changed, so after merging this I'll make the other change and push it as version 1.5.7.

quandyfactory added a commit that referenced this pull request Dec 10, 2014
@quandyfactory
Copy link
Owner

I just pushed version 1.5.7, which fixes the same issue inside convert_list(). Thanks again for finding and fixing this issue!

@birdsarah
Copy link
Contributor Author

Phenomenal - thanks!

@quandyfactory
Copy link
Owner

Thanks again for identifying and fixing the performance issue! Implementing this fix also fixed another outstanding bug.

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