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

Optimize Shuffle.decode method #1347

Merged
merged 1 commit into from
May 23, 2024

Conversation

aaime
Copy link
Contributor

@aaime aaime commented May 23, 2024

Description of Changes

While doing a profiling session I've noticed this method popping up over and over. Noticed there were some simple and obvious optimizations, like not allocating an extra array, and avoiding repeated multiplications in index computation, and thought to share the results with the wider community.

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

@CLAassistant
Copy link

CLAassistant commented May 23, 2024

CLA assistant check
All committers have signed the CLA.

@haileyajohnson haileyajohnson merged commit 004f75d into Unidata:maint-5.x May 23, 2024
10 checks passed
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.

None yet

3 participants