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

ENH: spatial: faster Chebyshev distance #20570

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

Commits on Apr 24, 2024

  1. ENH: spatial: implemented issue 20561

    Replaced max by np.max.
    np.max is faster than max for large arrays.
    For (very) short arrays (len < 50), max is faster than np.max but the times of computation are very short.
    For very short arrays, if the parameter w (weights) is specified, the times of computation of max and np.max are nearly comparable.
    lozanodorian committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    91770f5 View commit details
    Browse the repository at this point in the history