Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 14 C++ Hash Projects
-
You should also make some hashes of the files after you dump them, and paste them into a text file, I use OpenHashTab: https://github.com/namazso/OpenHashTab
-
parallel-hashmap
A family of header-only, very fast and memory-friendly hashmap and btree containers.
Cool! Looking forward to you trying my phmap - and please let me know if you have any question.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
Project mention: Convenient Containers v1.0.3: Better compile speed, faster maps and sets | reddit.com/r/C_Programming | 2023-05-03
The main advantage of the latest version is that it reduces build time by about 53% (GCC 12.1), based on the comprehensive test suit found in unit_tests.c. This improvement is significant because compile time was previously a drawback of this library, with maps and sets—in particular—compiling slower than their C++ template-based counterparts. I achieved it by refactoring the library to do less work inside API macros and, in particular, use fewer _Generic statements, which seem to be a compile-speed bottleneck. A nice side effect of the refactor is that the library can now more easily be extended with the planned dynamic strings and ordered maps and sets. The other major improvement concerns the performance of maps and sets. Here are some interactive benchmarks[1] comparing CC’s maps to two popular implementations of Robin Hood hash maps in C++ (as well as std::unordered_map as a baseline). They show that CC maps perform roughly on par with those implementations.
-
Also, I'm testing https://github.com/greg7mdp/sparsepp which is based on google's sparsehash
-
-
Project mention: For those who've recently switched from Windows to Mac, what's the one app you miss the most? | reddit.com/r/macapps | 2023-05-28
Or fHash https://github.com/sunjw/fhash (free).
-
CodiumAI
TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.
-
-
Unfortunately std::map is not constexpr. There are open source alternatives though (not affiliated with the author in any way).
-
Project mention: announcing ph - open-source, rust library for perfect hashing | reddit.com/r/rust | 2023-05-19
The best in terms of evaluation time is PTHash (I think it can achieve 1 cache miss/lookup). Unfortunately the only implementation I know of for this method is in C++ (there is certainly no implementation in Rust): https://github.com/jermp/pthash
-
I do this as well in my phmap and gtl implementations. It makes the tables look worse in benchmarks like the above, but prevents really bad surprises occasionally.
-
py-cryptonight
Python Cryptonight binding / extension. Monero hash function, proof-of-work, cn_slow_hash()
-
-
Project mention: What is an example of non-linear static data structure and what is an accurate breakdown of ds types? | reddit.com/r/learnprogramming | 2023-04-16
Can create a ton of theoretical examples, but even in practice we use such data structures. An example that first came to mind is gperf which generates static hash table data structure for predefined set of strings (So you cannot add or remove any elements).
-
Sonar
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
C++ Hash related posts
- Verifying Hashes/Checksums for Entire Folders on Windows 11
- Dark & Darker torrent mirror
- What is an example of non-linear static data structure and what is an accurate breakdown of ds types?
- Long switch statements. Is there a better way?
- Effortless Performance Improvements in C++: std:unordered_map
- Why are there no checksum apps for MacOS?
- Hashtables
-
A note from our sponsor - Sonar
www.sonarsource.com | 30 May 2023
Index
What are some of the best open-source Hash projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | OpenHashTab | 2,061 |
2 | parallel-hashmap | 1,918 |
3 | meow_hash | 1,612 |
4 | robin-hood-hashing | 1,379 |
5 | sparsepp | 1,180 |
6 | pHash | 458 |
7 | fhash | 249 |
8 | digestpp | 166 |
9 | eternal | 163 |
10 | pthash | 104 |
11 | gtl | 58 |
12 | py-cryptonight | 22 |
13 | qc-hash | 8 |
14 | gperf | 2 |