HaxMap, a concurrent hashmap faster and more memory-efficient than golang's sync.Map

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. haxmap

    Fastest and most memory efficient golang concurrent hashmap

    This behaviour is now fixed with https://github.com/alphadose/haxmap/commit/bc3b9a6adfc4600fd948124f5d9b74139dfe6d39

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. xxhash

    A Go implementation of the 64-bit xxHash algorithm (XXH64) (by cespare)

    Nopes, the hashing algorithm was exclusively meant for 64 bit archs https://github.com/cespare/xxhash hence it will show invalid results on any 32 bit architectures.

  4. hashmap

    A Golang lock-free thread-safe HashMap optimized for fastest read access.

    Pre-allocating would not fix https://github.com/cornelk/hashmap/issues/47 as the bug is in the linked list. This is not grow related but an issue with concurrent Add/Delete on the list.

  5. xxHash

    Pure Go implementation of xxHash (32 and 64 bits versions) (by pierrec)

    I shall add a 32 bit variant of haxmap too in the near future using this 32 bit variant of xxHash https://github.com/pierrec/xxHash/tree/master/xxHash32

  6. avo

    Generate x86 Assembly with Go

    You can use github.com/mmcloughlin/avo for generating the assembly use Go.

  7. sonic

    A blazingly fast JSON serializing & deserializing library (by bytedance)

    Also see sonic for some nice performance tricks github.com/bytedance/sonic

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • SwissMap: A smaller, faster Golang Hash Table

    1 project | news.ycombinator.com | 31 Mar 2023
  • how does lock-free (or lockless) hashmap works?

    1 project | /r/golang | 20 May 2021
  • ttlMap: A golang map in which entries expire after given a time period

    1 project | /r/golang | 26 Oct 2023
  • How do you go about the lack of built in data structure like stack, queue for LeetCode

    1 project | /r/golang | 24 May 2023
  • hash/maphash is slow

    1 project | /r/golang | 12 Feb 2023

Did you know that Go is
the 4th most popular programming language
based on number of references?