sirgallo/cmapv2
View on GitHub ↗ ★ 56 Go
a concurrent hash array mapped trie implementation in go
4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2025-06-16 · latest 2025-06-19
20082026
-
…etc., and those operations' interactions with package unsafe. For example this code https://github.com/sirgallo/cmapv2/blob/6bcaa0253b1b0b261e8a... and in particular its use of this code https://github.com/sirgallo/cmapv2/blob/6bcaa0253b1b0…
comment by kiitos · 2025-06-19 · in Cmapv2: A high performance, concurrent map -
…len(n.children))) copy(nodeCopy.children, n.children) // pointers reused https://github.com/sirgallo/cmapv2/blob/main/node.go#L11-L17 Any later mutation (for example `setValue`) writes through those shared pointers, so readers and
comment by kiitos · 2025-06-17 · in Cmapv2: A high performance, concurrent map -
…Data races everywhere! Not safe, do not pass go, do not collect $200, absolutely do not use. [1] https://github.com/sirgallo/cmapv2/blob/280e3017ae4ba212f6f8...
comment by kiitos · 2025-06-17 · in Cmapv2: A high performance, concurrent map