faststringmap VS trie

Compare faststringmap vs trie and see what are their differences.

faststringmap

A fast (5x) string keyed read-only map for Go - particularly good for keys using a small set of nearby runes. (by sensiblecodeio)

trie

A Trie implementation in Go meant for auto-completion use cases. Supports Levenshtein distance search. (by shivamMg)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
faststringmap trie
1 2
60 107
- -
0.0 0.6
over 1 year ago about 1 year ago
Go Go
MIT License MIT License
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.

faststringmap

Posts with mentions or reviews of faststringmap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-22.
  • Faster string keyed maps in Go
    2 projects | /r/golang | 22 Jul 2021
    We were using Go map[string]int to validate the strings and obtain the index in the list. However the map lookups were consuming a lot of compute time. I wondered whether this could be significantly reduced. I looked around and didn't immediately find anything. So I came up with https://github.com/sensiblecodeio/faststringmap which gave us a 5x performance improvement on map lookups and a 25% reduction in overall CSV processing time.

trie

Posts with mentions or reviews of trie. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-14.

What are some alternatives?

When comparing faststringmap and trie you can also consider the following projects:

stringFormatter - A set of tools to manipulate text, i.e. making text from templates in C#/Python way is faster than fmt.Sprintf

go-succinct-data-structure-trie - Succinct Data Structure of Trie, written in Go

searchreader - Search single bytes.Reader with multiple strings.Readers with or without case sensitivity

trie - Generic prefix tree for golang

gptcli - An interactive ChatGPT client featuring shortcuts and auto-complete.

Muxie - Muxie is a modern, fast and light HTTP multiplexer for Go. Fully compatible with the http.Handler interface. Written for everyone.

art - Adaptive Radix Tree done right

gowww/router - ⚡️ A lightning fast HTTP router

data-structures - Go datastructures.

ptrie - A prefix tree implementation in go

gse - Go efficient multilingual NLP and text segmentation; support English, Chinese, Japanese and others.