Commit Graph

6 Commits

Author SHA1 Message Date
zhengtianyi
fe07c8ce39 perf: shorten lock time & optimize map`s value type
- shorten the lock time of concurrent.go`s function "Put"
 - slightly optimize the value`s type of map concurrent.go`s function "RandomDistinctKeys" & avoid duplicate input the same map`s key

fix: uses the provided seed value to initialize the function rand, for fixing the generation of the same int in the case of multiple executions.

Limited ability, make it better~
2022-11-09 22:18:12 +08:00
hdt3213
38001a2d18 go lint 2021-11-08 23:24:43 +08:00
hdt3213
e91294bcf4 multi database 2021-09-05 18:57:02 +08:00
liyuxing
453fef5de1 ConcurrentDict Remove add decreaseCount 2021-07-01 13:27:52 +08:00
hdt3213
97d7b84276 go lint 2021-05-13 08:56:07 +08:00
hdt3213
f29298cc68 refactor project structure 2021-05-02 14:54:42 +08:00