faststringmap
A fast (5x) string keyed read-only map for Go - particularly good for keys using a small set of nearby runes. (by sensiblecodeio)
searchreader
Search single bytes.Reader with multiple strings.Readers with or without case sensitivity (by raspi)
faststringmap | searchreader | |
---|---|---|
1 | 1 | |
60 | 2 | |
- | - | |
0.0 | 10.0 | |
over 1 year ago | over 1 year ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
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
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.
searchreader
Posts with mentions or reviews of searchreader.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing faststringmap and searchreader 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
binstruct - Golang binary decoder for mapping data into the structure
gobeam/Stringy - Convert string to camel case, snake case, kebab case / slugify, custom delimiter, pad string, tease string and many other functionalities with help of by Stringy package.