Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2023 (3)
20082026
  1. 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
  2. I see you have a map implementation, how does that compare with this one? github.com/cornelk/hashmap
  3. 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.
  4. 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
  5. Yes. https://github.com/cornelk/hashmap
  6. 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
  7. …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
  8. …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…
  9. ▲ 3
    Cornelk/hashmap: A Golang lock-free thread-safe HashMap optimized for reading
    story by pjf · 2018-06-20 · 0 comments