SaaSHub helps you find the best software and product alternatives Learn more →
Top 15 C Miscellaneou Projects
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Change license from BSD-3 to dual RSALv2+SSPLv1 #13157
Project mention: Lessons learned about how to make a header-file library (2013) | news.ycombinator.com | 2024-02-28
In my example the table stores the hash codes themselves instead of the keys (because the hash function is invertible)
Oh, I see, right. If determining the home bucket is trivial, then the back-shifting method is great. The issue is just that it’s not as much of a general-purpose solution as it may initially seem.
“With a different algorithm (Robin Hood or bidirectional linear probing), the load factor can be kept well over 90% with good performance, as the benchmarks in the same repo demonstrate.”
I’ve seen the 90% claim made several times in literature on Robin Hood hash tables. In my experience, the claim is a bit exaggerated, although I suppose it depends on what our idea of “good performance” is. See these benchmarks, which again go up to a maximum load factor of 0.95 (Although boost and Absl forcibly grow/rehash at 0.85-0.9):
https://strong-starlight-4ea0ed.netlify.app/
Tsl, Martinus, and CC are all Robin Hood tables (https://github.com/Tessil/robin-map, https://github.com/martinus/robin-hood-hashing, and https://github.com/JacksonAllan/CC, respectively). Absl and Boost are the well-known SIMD-based hash tables. Khash (https://github.com/attractivechaos/klib/blob/master/khash.h) is, I think, an ordinary open-addressing table using quadratic probing. Fastmap is a new, yet-to-be-published design that is fundamentally similar to bytell (https://www.youtube.com/watch?v=M2fKMP47slQ) but also incorporates some aspects of the aforementioned SIMD maps (it caches a 4-bit fragment of the hash code to avoid most key comparisons).
As you can see, all the Robin Hood maps spike upwards dramatically as the load factor gets high, becoming as much as 5-6 times slower at 0.95 vs 0.5 in one of the benchmarks (uint64_t key, 256-bit struct value: Total time to erase 1000 existing elements with N elements in map). Only the SIMD maps (with Boost being the better performer) and Fastmap appear mostly immune to load factor in all benchmarks, although the SIMD maps do - I believe - use tombstones for deletion.
I’ve only read briefly about bi-directional linear probing – never experimented with it.
You'll likely need to make use of the `ssh` or `ssh2` crate, depending on whether you want to use `libssh` or `libssh2` (two different libraries) for the SSH protocol. Then, if you choose `libssh`, you'll need to port https://github.com/codinn/libssh/blob/master/examples/sshnetcat.c and if you choose `libssh` you'll need to port https://github.com/libssh2/libssh2/blob/master/example/tcpip-forward.c to Rust.
C Miscellaneous related posts
-
The CompCert C Compiler
-
Fast Linked Lists
-
What do you want to watch next? This is why I built GoodWatch.
-
Handling Multiple requests with Redis and Bullmq
-
Redis is not "open core" (2021)
-
Software Engineering Workflow
-
It has been ten days since the last commit was pushed to Redis
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Jun 2024
Index
What are some of the best open-source Miscellaneou projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | Redis | 65,180 |
2 | stb | 25,453 |
3 | SDS | 4,816 |
4 | Klib | 4,045 |
5 | ZBar | 2,468 |
6 | AtomVM | 1,406 |
7 | libssh2 | 1,269 |
8 | SLRE | 521 |
9 | Better String | 471 |
10 | libcpuid | 422 |
11 | semver.c | 184 |
12 | ub-canaries | 169 |
13 | libnih | 92 |
14 | libevil | 29 |
15 | ptldd | 2 |
Sponsored