Skip to content

Faster extrema on abstract arrays when there is no functions or selected dims #34790

Closed
@longemen3000

Description

@longemen3000

for reference, see this discourse thread:
https://discourse.julialang.org/t/perf-improvement-suggestion-for-simple-extrema/34776/2
the key is just writing a simple loop in the case of extrema(x::AbstractArray). the post uses an standard indexing, but i think this can be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions