nice speedup using https://github.com/MichaelTJones/pcg <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FMichaelTJones%2Fpcg&sa=D&sntz=1&usg=AFQjCNGPmR0DiOobBhs9QKIFJ5T92T6p1A>
## using stdlb math/rand (Go 1.11.5) pkg: github.com/drgo/abm/rng BenchmarkScalingFreqDistributionSampler/n-levels=2-12 50000000 32.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=4-12 50000000 35.4 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=8-12 50000000 32.0 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=16-12 50000000 32.0 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=32-12 50000000 32.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=64-12 50000000 36.9 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=128-12 50000000 31.6 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=256-12 50000000 31.0 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=512-12 50000000 36.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=1024-12 50000000 31.8 ns/op 0 B/op 0 allocs/op ## using pcg BenchmarkScalingFreqDistributionSampler/n-levels=2-12 100000000 13.5 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=4-12 100000000 17.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=8-12 100000000 13.3 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=16-12 100000000 13.3 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=32-12 100000000 14.2 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=64-12 100000000 19.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=128-12 100000000 14.0 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=256-12 100000000 13.3 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=512-12 100000000 18.1 ns/op 0 B/op 0 allocs/op BenchmarkScalingFreqDistributionSampler/n-levels=1024-12 100000000 14.0 ns/op 0 B/op 0 allocs/op -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.