Skip to content

Speedup the reduce method of the maximum minimum family of ufuncs. #18

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

Closed
wants to merge 4 commits into from

Conversation

charris
Copy link
Member

@charris charris commented Nov 21, 2010

These patches add reduce loop detection to the maximum/minimum/fmax/fmin ufuncs and then implement the nanmax and nanmin functions using fmax.reduce and fmin.reduce. Some tests have also been added/fixed.

The fmax and fmin reduce loops can be further speeded up by fixing things so that the isnan function call is avoided, but that is for another day.

@charris
Copy link
Member Author

charris commented Mar 8, 2011

I went ahead and pushed this.

mattip referenced this pull request in mattip/numpy Mar 20, 2019
BLD: Add lm flag for non-windows platforms
fangerer referenced this pull request in hpyproject/numpy-hpy Jul 7, 2022
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from ss/array_array3 to labs-hpy-port

* commit 'b38605ff84d4c2eaea59b03cc6948aafbe59fe35':
  array_add
  array_true_divide
  array_subtract
  Enough of array_power for the startup
  Partial port of array_power
  HPyNumericOps hpy_n_ops
  HPY_INPLACE_GIVE_UP_IF_NEEDED
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
This pull request was closed.
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