C++ Hash

Open-source C++ projects categorized as Hash

Top 14 C++ Hash Projects

  • OpenHashTab

    📝 File hashing and checking shell extension

    Project mention: cdrom uploads questions | reddit.com/r/ArchiveDotOrg | 2023-05-09

    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.

    Project mention: My own Concurrent Hash Map picks | reddit.com/r/cpp | 2022-11-27

    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.

  • meow_hash

    Official version of the Meow hash, an extremely fast level 1 hash

  • robin-hood-hashing

    Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20

    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.

  • sparsepp

    A fast, memory efficient hash map for C++

    Project mention: Updating map_benchmarks: Send your hashmaps! | reddit.com/r/cpp | 2022-06-16

    Also, I'm testing https://github.com/greg7mdp/sparsepp which is based on google's sparsehash

  • pHash

    pHash - the open source perceptual hash library

  • fhash

    fHash - an open source files hash calculator for Windows and macOS

    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.

  • digestpp

    C++11 header-only message digest library

  • eternal

    A C++14 compile-time/constexpr map and hash map with minimal binary footprint (by mapbox)

    Project mention: Long switch statements. Is there a better way? | reddit.com/r/cpp | 2023-03-08

    Unfortunately std::map is not constexpr. There are open source alternatives though (not affiliated with the author in any way).

  • pthash

    Fast and compact minimal perfect hash functions in C++.

    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

  • gtl

    Greg's Template Library of useful classes.

    Project mention: Boost 1.81 will have boost::unordered_flat_map... | reddit.com/r/cpp | 2022-10-31

    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()

  • qc-hash

    Extremely fast unordered map and set library for C++20

    Project mention: Updating map_benchmarks: Send your hashmaps! | reddit.com/r/cpp | 2022-06-16
  • gperf

    mirror of git.savannah.gnu.org/gperf.git with more features. gitlab has the issues

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-28.

C++ Hash related posts

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
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
www.onlyoffice.com