Skip to content

inlined sum, sumabs2, mean, and similar? #64

Closed
@stevengj

Description

@stevengj

It seems like it would be worthwhile to inline common reduction operations for small vectors rather than calling the generic Base reduce code?

julia> @which sum(SVector(3,4,5))
sum(a) at reduce.jl:229

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