werben
|
b8351ed483
|
Both sync.Map and cowmap use atomic.Value atomic operations to access the map during data reading, resulting in similar read performance. However, sync.Map has better write performance. Therefore, cowmap directly utilizes sync.Map as its internal structure.
|
2023-08-10 14:18:50 +08:00 |
|
werben
|
4cf1c16f6c
|
Update eventbus_test.go
|
2023-04-25 20:42:28 +08:00 |
|
werben
|
409c04d0dc
|
Add synchronously way
Add synchronously way
|
2023-04-25 20:11:55 +08:00 |
|
werben
|
31fbda00bf
|
add benchmark test
add benchmark test
|
2023-04-25 18:18:13 +08:00 |
|
werben
|
7aedfe0916
|
fixed several test cases failing
fixed several test cases failing
|
2023-04-25 15:36:47 +08:00 |
|
werben
|
a561291465
|
optimize test cases
optimize test cases
|
2023-04-25 15:22:34 +08:00 |
|
werben
|
66be82f863
|
add test cases
add test cases
|
2023-04-25 15:14:47 +08:00 |
|
werben
|
a16344e4ce
|
code optimization
code optimization
|
2023-04-23 14:40:14 +08:00 |
|
werben
|
58f091fb98
|
use atmoic.Value for cowmap
use atmoic.Value for cowmap
|
2023-04-23 14:14:05 +08:00 |
|
werben
|
570b2638cb
|
code optimization
code optimization
|
2023-04-21 19:19:17 +08:00 |
|
werben
|
20864f8089
|
first commit
|
2023-04-21 18:15:44 +08:00 |
|