1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-02 09:19:08 -04:00
Files
v2fly/common/dice
Chinsyo bdf715afa9 rand.Intn(65536) -> rand.Int63() >> 47 (#417)
* Optimize rand.Intn(65536) to rand.Int31() >> 15, with ~20% performance improvement.

* Optimize rand.Intn(65536) to rand.rand.Int63() >> 47

* Remove rand.Seed call duplicate with original source code

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-14 05:00:25 +00:00
..