Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Fast pseudo random generator without state in Go. Average execution time is 6ns
(opens in new tab)
(github.com)
4 points
miovoid
10y ago
3 comments
Save
Share
3 comments
3 comments · 1 top-level
top
newest
oldest
Kristine1975
10y ago
· 2 in thread
It returns the lowest n bits of the CPU's time stamp counter. x86-64 only.
jerf
10y ago
Thank you. miovid/miolini, you need to say that in the documentation. Probably even spell out some of the implications. There may be times when this is useful, but people need to go in with open eyes about what they're getting.
miolini
10y ago
I've used it for multithread lock-free queues. It's working well for my case.
j
/
k
navigate · click thread line to collapse