8000 Speed up normalize_pickle by 50 percent by fjetter · Pull Request #11788 · dask/dask · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Speed up normalize_pickle by 50 percent #11788

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

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

fjetter
Copy link
Member
@fjetter fjetter commented Feb 26, 2025

This code is pretty nasty as it is. There is also a bug that affects the happy path since cloudpickle is always called once even if pickle works flawlessly. This change should speed up tokenize of trivial objects by 50%

@phofl phofl merged commit 5f61e42 into dask:main Feb 26, 2025
26 of 27 checks passed
@phofl
Copy link
Collaborator
phofl commented Feb 26, 2025

Thanks!

@dcherian this might help with some cases we looked into together over the last few months

@fjetter fjetter deleted the faster_tokenize_pickle branch February 27, 2025 10:05
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
0