Skip to content

improve performance of rand(n:m) #29004

@jlapeyre

Description

@jlapeyre

A recently published algorithm is unbiased and more performant than rand(n:m).

See https://discourse.julialang.org/t/rand-1-10-vs-int-round-10-rand/14339/10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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