Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 189b2fc

Browse files
authored
Mention the ThreadLocal<SecureRandom> option
Updated notice about library obsolescence on Linux systems.
1 parent 8d08fa1 commit 189b2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# More randomness. Less time. Still an instance of java.util.Random.
22

3-
**Notice: This library is considered obsolete on [Linux 5.17 and newer](https://www.phoronix.com/news/Linux-getrandom-8450p) because each CPU core now has its own entropy pool, and the overhead of a system call is now at least as cheap as a communication between threads.**
3+
**Notice: This library is considered obsolete on [Linux 5.17 and newer](https://www.phoronix.com/news/Linux-getrandom-8450p) because each CPU core now has its own entropy pool, and the overhead of a system call is now at least as cheap as a communication between threads. On these systems, I recommend using a ThreadLocal<SecureRandom>.**
44

55
[![Build Status](https://dev.azure.com/polymorpheus/BetterRandom/_apis/build/status/BetterRandom-CI?branchName=master)](https://dev.azure.com/polymorpheus/BetterRandom/_build/latest?definitionId=2&branchName=java7)
66
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.pr0methean.betterrandom/BetterRandom/badge.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22io.github.pr0methean.betterrandom%22%20AND%20a%3A%22BetterRandom%22)

0 commit comments

Comments
 (0)