]> Cypherpunks repositories - gostls13.git/commit
runtime: tighten select permutation generation
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 18 Dec 2014 19:48:39 +0000 (11:48 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2015 02:36:24 +0000 (02:36 +0000)
commitfd5540e7e5d2149c723b2a636ceed32c1d534ff5
tree7aaa88a62414d6d8503b2df8bb5e9fa22817e747
parent3787950a9210fcf662ec2b99a0708fa673836a5c
runtime: tighten select permutation generation

This is the optimization made to math/rand in CL 21030043.

Change-Id: I231b24fa77cac1fe74ba887db76313b5efaab3e8
Reviewed-on: https://go-review.googlesource.com/9269
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/select.go