Commit Graph

22 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
finley
b93d74d5a7 optimize randomLevel 2022-11-05 21:12:50 +08:00
kaniu
66ac97103e slightly optimize lock_map RWLocks.
"writeLocks" don't need to be sorted,and the index can be added into the "writeIndexSet" directly.
2022-11-02 21:22:49 +08:00
finley
dddf9a8f6b zpopmin 2022-08-21 06:00:21 +08:00
finley
9da335811f tiny fixes 2022-08-20 23:25:26 +08:00
kun98
23a6f95c18 bugfix 2022-08-17 11:35:22 +08:00
finley
e6d958716d quick list 2022-07-31 02:07:45 +08:00
hdt3213
0da9c96a3b support bitmap 2022-04-30 19:03:32 +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
pengyejun
a34d6d7e55 Fix:sortedset Add()有bug #26 2021-07-15 10:29:31 +08:00
Yejun_Peng
a4cfd87a44 optimize logic of linkedlist 2021-07-06 19:51:23 +08:00
liyuxing
453fef5de1 ConcurrentDict Remove add decreaseCount 2021-07-01 13:27:52 +08:00
hdt3213
ef5639f40b fix comments and readme 2021-06-15 01:14:41 +08:00
hdt3213
67c385ee4a support multi transaction 2021-06-15 01:03:13 +08:00
hdt3213
6ee2789d6f optimize locks for sinterstore/sunionstore/sdiffstore 2021-05-27 22:06:57 +08:00
hdt3213
97d7b84276 go lint 2021-05-13 08:56:07 +08:00
hdt3213
55ada39252 add go reference 2021-05-11 22:48:06 +08:00
hdt3213
fc39150740 add some unittest 2021-05-07 00:11:16 +08:00
hdt3213
f1ab47bd83 add unittest for cluster 2021-05-04 20:51:55 +08:00
hdt3213
9f3ac88b36 add some unittests and bug fix 2021-05-02 18:48:44 +08:00
hdt3213
f29298cc68 refactor project structure 2021-05-02 14:54:42 +08:00