Skip to content

Type boxed unexpectedly #42052

Closed
Closed
@BioTurboNick

Description

@BioTurboNick

From: JuliaPlots/PlotUtils.jl#119

Changing i = findlast(t -> t < x, v) to i = findlast(<(x), v) here greatly improved performance because the former caused the function to box x.

Seems like they should be equivalent?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions