cornelk/hashmap
View on GitHub ↗ ★ 1,876 Go
A Golang lock-free thread-safe HashMap optimized for fastest read access.
9 mentions on Hacker News by 4 people: 1 story, 8 comments · first 2018-06-20 · latest 2025-06-17
20082026
-
I've been using this one for years, can you do comparisons against it? https://github.com/cornelk/hashmap
comment by latchkey · 2025-06-17 · in Cmapv2: A high performance, concurrent map -
I see you have a map implementation, how does that compare with this one? github.com/cornelk/hashmap
comment by latchkey · 2023-08-12 · in A Golang generics library without reflect and third-party packages -
I generally just use this one: https://github.com/cornelk/hashmap Mostly in that it also gives me lock free performance, which cleans up a lot of defers.
comment by latchkey · 2023-03-31 · in SwissMap: A smaller, faster Golang Hash Table -
Glad to see this make it into the core. I've been using this library for ages now... https://github.com/cornelk/hashmap Always entertains me to see developers write all the lock/unlock code when they could just use that.
comment by latchkey · 2023-02-01 · in Go 1.20 released -
Yes. https://github.com/cornelk/hashmap
comment by latchkey · 2022-10-07 · in Ask HN: Was it worth it for Go to add generics -
Best 3rd party Map library that I've found. https://github.com/cornelk/hashmap
comment by latchkey · 2022-08-22 · in Gojq: Pure Go Implementation of Jq -
…and yet requires the caller to explicitly call Lock! HashMap is probably a good example https://github.com/cornelk/hashmap
comment by ArtWomb · 2019-10-11 · in Uber Go Style Guide -
…author of the repositories was specifically doing micro-benchmarks here to inform the design of his https://github.com/cornelk/hashmap library. I think for that use case (designing a high-performance lock-free data structure), that kind of…
comment by flgr · 2018-06-20 · in Go-benchmark: Golang benchmarks used for optimizing code