hashmap VS treemap

Compare hashmap vs treemap and see what are their differences.

hashmap

A Golang lock-free thread-safe HashMap optimized for fastest read access. (by cornelk)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
hashmap treemap
8 -
1,712 54
- -
2.9 1.8
8 months ago about 2 years ago
Go Go
Apache License 2.0 The Unlicense
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hashmap

Posts with mentions or reviews of hashmap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-01.

treemap

Posts with mentions or reviews of treemap. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning treemap yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing hashmap and treemap you can also consider the following projects:

haxmap - Fastest and most memory efficient golang concurrent hashmap

skiplist - A Go library for an efficient implementation of a skip list: https://godoc.org/github.com/MauriceGit/skiplist

go-left-right - A faster RWLock primitive in Go, 2-3 times faster than RWMutex. A Go implementation of concurrency control algorithm in paper <Left-Right - A Concurrency Control Technique with Wait-Free Population Oblivious Reads>

trie - Data structure and relevant algorithms for extremely fast prefix/fuzzy string searching.

sonic - A blazingly fast JSON serializing & deserializing library

go-datastructures - A collection of useful, performant, and threadsafe Go datastructures.

jqr

boomfilters - Probabilistic data structures for processing continuous, unbounded streams.

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

fsm - Finite State Machine for Go

pq - Like jq, but with Python

go-tuple - Go 1.18+ generic tuple