aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmarks/interface-store/stm.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-22 13:09:35 -0300
committerEuAndreh <eu@euandre.org>2025-05-22 13:09:35 -0300
commit70fe6f1cbb448b473eeda4d5ef7f3ac6630dd8d7 (patch)
treed9bbff162eef59317a01e1369736206e3c3d3ae1 /tests/benchmarks/interface-store/stm.go
parentsrc/stm.go: Remove ad-hoc profiling code (diff)
downloadstm-70fe6f1cbb448b473eeda4d5ef7f3ac6630dd8d7.tar.gz
stm-70fe6f1cbb448b473eeda4d5ef7f3ac6630dd8d7.tar.xz
src/stm.go: Rename Interface -> atomicI
Diffstat (limited to 'tests/benchmarks/interface-store/stm.go')
-rw-r--r--tests/benchmarks/interface-store/stm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/interface-store/stm.go b/tests/benchmarks/interface-store/stm.go
index 8e9a36b..167f448 100644
--- a/tests/benchmarks/interface-store/stm.go
+++ b/tests/benchmarks/interface-store/stm.go
@@ -17,7 +17,7 @@ func MainTest() {
flag.Parse()
n := *nFlag
- var v Interface[string] = New("hello")
+ var v atomicI[string] = New("hello")
for i := 0; i < n; i++ {
v.Store(fmt.Sprint(i))
}