Skip to content

Commit bb700e8

Browse files
SuperBukera3s7p
authored andcommitted
map_counter concurrent-map removal
1 parent a52d69a commit bb700e8

File tree

3 files changed

+5
-132
lines changed

3 files changed

+5
-132
lines changed

api/map_counter/atomiclist.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import (
99
"sync/atomic"
1010
)
1111

12+
type Tuple struct {
13+
Key string
14+
Val *synccounters.ContractCounter
15+
}
16+
1217
type atomicList struct {
1318
atomic.Value
1419
sync.Mutex

api/map_counter/concurrent-map.go

Lines changed: 0 additions & 127 deletions
This file was deleted.

api/map_counter/map_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ func testMapReset(t *testing.T, newMap func() Map) {
121121
}
122122
}
123123

124-
func TestCMap(t *testing.T) {
125-
testMap(t, NewCMap)
126-
testMapReset(t, NewCMap)
127-
}
128-
129124
func TestAtomicList(t *testing.T) {
130125
testMap(t, NewList)
131126
testMapReset(t, NewList)

0 commit comments

Comments
 (0)