]> Cypherpunks repositories - gostls13.git/commit
runtime: remove a modulus calculation from pollorder
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2015 17:46:02 +0000 (10:46 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Apr 2015 19:36:37 +0000 (19:36 +0000)
commit9a0fd97ff3084376b2c6058502ddc4fead530c66
tree86fed2dad58f66392ecd3ab5208a9380daab2f70
parent1b01910c0664f8863dd96b6781ca6c9e2cc6ed9d
runtime: remove a modulus calculation from pollorder

This is a follow-up to CL 9269, as suggested
by dvyukov.

There is probably even more that can be done
to speed up this shuffle. It will matter more
once CL 7570 (fine-grained locking in select)
is in and can be revisited then, with benchmarks.

Change-Id: Ic13a27d11cedd1e1f007951214b3bb56b1644f02
Reviewed-on: https://go-review.googlesource.com/9393
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/runtime/select.go