calculator-c-parser
wyhash
Our great sponsors
calculator-c-parser | wyhash | |
---|---|---|
3 | 9 | |
14 | 909 | |
- | - | |
0.0 | 6.6 | |
about 3 years ago | 3 months ago | |
C | C | |
- | The Unlicense |
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.
calculator-c-parser
- Show HN: Simple Calculator Parser in C
-
Programmer calculator and LL parser made in C from scratch
While writing the parser I also wrote a separate simpler version to serve as an example to someone who might be interested in parsers (https://github.com/alt-romes/calculator-c-parser)
wyhash
- Wyhash: The fastest quality hash function
-
What hash function you use for hash maps / hash tables?
I recently switched to wyhash as it seems to have a good combination of speed and stability.
-
Are there any weaker hashes than MD5, but still randomly distributed?
wyhash is a decent option for if you don't need a cryptographical quality hash
-
Hacker News top posts: Mar 15, 2021
New Bare Hash Map: 2X-3X Speedup over SOTA\ (32 comments)
-
New Bare Hash Map: 2X-3X Speedup over SOTA
I feel like you’d want something a bit safer than “we don’t store the keys and just rely on the hash to be really good” [1], putting “please do not use this for serious tasks” in a comment embedded in the header file isn’t a clear enough warning.
It’s not clear to me that that probability of collision assumptions hold. It’s basically assuming that the hashing is perfect and distributes any inputs to the full 64-bit space with uniform probability. That’s the usual hash map / randomized algorithm hope, but does BigCrush or similar avalanche testing really prove that? (Presumably not, otherwise there wouldn’t be image attacks for things like md5).
[1] https://github.com/wangyi-fudan/wyhash/blob/d2a305811972f391...
- wyhash and wyrand are a non-cryptographic 64-bit hash function and PRNG respectively
What are some alternatives?
inih - Simple .INI file parser in C, good for embedded systems
smhasher - Hash function quality and speed tests
sfm - simple file manager
aHash - aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction
tree-sitter-rasi - RASI grammar for tree-sitter
meow_hash - Official version of the Meow hash, an extremely fast level 1 hash
lalr-parser-test - Testing how different LALR(1) parsers detect grammar conflicts
leocad - A CAD application for creating virtual LEGO models
smhasher - Automatically exported from code.google.com/p/smhasher
Mersenne-Twister-in-Python - A Mersenne Twister Random Number Generator
countwords - Playing with counting word frequencies (and performance) in various languages.
houndsniff - Hash identification program.