8000 Vectorized grouped (nan)quantile by dcherian · Pull Request #329 · xarray-contrib/flox · GitHub
[go: up one dir, main page]

Skip to content

Vectorized grouped (nan)quantile #329

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 12 commits into from
Jan 30, 2024
Merged

Vectorized grouped (nan)quantile #329

merged 12 commits into from
Jan 30, 2024

Conversation

dcherian
Copy link
Collaborator

No description provided.

@dcherian dcherian force-pushed the vectorized-quantile branch from 2b5ad13 to 5cca384 Compare January 28, 2024 22:46
@dcherian dcherian force-pushed the vectorized-quantile branch from 11cdc5e to 44c496c Compare January 29, 2024 02:13
@dcherian dcherian merged commit c966323 into main Jan 30, 2024
@dcherian dcherian deleted the vectorized-quantile branch January 30, 2024 00:30
@max-sixty
Copy link
Contributor

Just saw this in the release notes — very nice!

Always feel free to ping numbagg if you want anything like this in there. (also nice to have it without numba though...)

@dcherian
Copy link
Collaborator Author
dcherian commented Feb 7, 2024

It's all vectorized so I'm not sure there's that much benefit. There might be some for the lexsort along an axis though

@max-sixty
< 8000 span class="Button-label"> Copy link
Contributor

It's all vectorized so I'm not sure there's that much benefit. There might be some for the lexsort along an axis though

Yes agree...

And numba is slower than numpy on sorting!

@dcherian
Copy link
Collaborator Author
dcherian commented Feb 8, 2024

And numba is slower than numpy on sorting!

I have learned that intel engineers show up to optimize numpy's sorting with all kinds of SIMD tricks, so that's perhaps not so surprising: e.g. numpy/numpy#25045

@max-sixty
Copy link
Contributor

Nice!!

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