Y
Hacker News
new
|
ask
|
show
|
jobs
by
mhh__
1878 days ago
I never got round to trying it but I was wondering whether you could generate a Cauchy-distributed wait as a way of breaking badly written benchmarks/timing gadgets (i.e. the mean is indeterminate)
1 comments
bmm6o
1878 days ago
Doesn't the indeterminate mean rely on the distribution including negative values? Sleep() requires a non-negative value.
link
mhh__
1878 days ago
You're probably right, too many beers perhaps!
link
mhh__
1878 days ago
Actually, Log-Cauchy?
link