Commit Graph
6 Commits
Author SHA1 Message Date
秋のかえで a788be738e Lint: add nolint flags to avoid lint 2022-08-19 20:05:50 +08:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
RPRXandGitHub 7cc8b75006 Reorder dice_test.go 2020-11-14 05:06:07 +00:00
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
Darien Raymond 2b4104e491 benchmark for dice 2018-02-24 13:57:25 +01:00