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
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
hashmap treemap
8 0
1,626 48
- -
5.3 1.8
about 2 months ago over 1 year 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:

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>

sonic - A blazingly fast JSON serializing & deserializing library

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

haxmap - Fastest and most memory efficient golang concurrent hashmap

pq - Like jq, but with Python

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

immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.

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

go - The Go programming language

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

query-json - Faster, simpler and more portable implementation of `jq` in Reason