Skip to content

the variant of rand! for an array of Float64 is slowed down by the explicit SIMD when the array is small enough #57114

Open
@nsajko

Description

Benchmarking #57101, I notice using the implementation with explicit SIMD is slowing down rand!(::Memory{Float64}) for arrays shorter than about a thousand elements. Perhaps a cutoff would be good, to only use the SIMD-ed implementation for large-enough arrays. Will investigate more deeply later.

Metadata

Assignees

No one assigned

    Labels

    arrays[a, r, r, a, y, s]performanceMust go fasterrandomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions