• lobsters__fanf@crustaceanson.theshelf.topOPM
    link
    fedilink
    arrow-up
    1
    ·
    14 days ago

    Another reason for using an API like random_range() or random_choice() is that they can be faster than naïvely using %

    (I wonder how much we are fussing over uniformity out of habit, because it used to matter back in the days of bad 16 bit RNGs.)


    score 1 · canonical