mirror of https://github.com/tuskyapp/Tusky.git
Browse Source
This also improves randomness by avoiding to reinitialize the random number generator repeatedly from a seed based on the current time. Typically, if the number generator is reinitialized repeatedly at non-random times (like multiple times in a row), then generated numbers have a higher chance of repeating. The Kotlin Random object is only initialized once, using the best seed available for the current Android version.pull/4363/head
2 changed files with 4 additions and 6 deletions
Loading…
Reference in new issue