Skip to content

Fix for performance issue in as_dict function #53

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samander
Copy link

Original function takes 3 seconds to run new test_as_dict_perf() test. Updated code has performance inline with flatterdict as_dict implementation. flatterdict.as_dict code was used to model fix in flatdict.as_dict

tested:
flake8
coverage run
coverage report
coverage xml

Original function takes 3 seconds to run test_as_dict_perf
Updated code has performance inline with flatterdict

flatterdict.as_dict code was used for solution
@samander
Copy link
Author

@gmr PR is ready for review

@samander
Copy link
Author

Hit this multiple times. I am having to locally fix it. Not ideal. Would be nice to get this fixed in the main repo

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.

1 participant