hashtable-benchmarks
boden
hashtable-benchmarks | boden | |
---|---|---|
8 | 3 | |
29 | 1,624 | |
- | 0.0% | |
4.7 | 1.8 | |
5 months ago | over 2 years ago | |
Java | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
hashtable-benchmarks
-
Building a faster hash table for high performance SQL joins
Since the blog post mentioned a PR to replace linear probing with Robin Hood, I just wanted to mention that I found bidirectional linear probing to outperform Robin Hood across the board in my Java integer set benchmarks:
https://github.com/senderista/hashtable-benchmarks/blob/mast...
https://github.com/senderista/hashtable-benchmarks/wiki/64-b...
-
Ask HN: Who wants to be hired? (December 2023)
https://homes.cs.washington.edu/~magda/papers/wang-cidr17.pd...
I'm most interested in developing high-performance database engines in low-level languages, but open to any challenging systems programming project. I've been working in C++ for the last 3 years, but have written nontrivial projects in Rust and Java as well (e.g., https://github.com/senderista/rotated-array-set, https://github.com/senderista/hashtable-benchmarks). I would enjoy using Rust or Zig on a new project, but I consider the project itself to be much more important than the language it's written in. I am not interested in cryptocurrency, adtech, or fintech projects.
-
Factor is faster than Zig
Thanks for the details on your benchmarks. I would like sometime to extend BLP to a more generic setting; as I said I think any trick used with RH would also work with BLP. I just used an integer set because that's all I needed for my use case and it was easy to implement several different approaches for benchmarking. As you note, it favors use cases where the hash function is cheap (or invertible) and elements are cheap to move around.
About your question on load factors: no, the benchmarks are measuring exactly what they claim to be. The hash table constructor divides max data size by load factor to get the table size (https://github.com/senderista/hashtable-benchmarks/blob/mast...), and the benchmark code instantiates each hash table for exactly the measured data set size and load factor (https://github.com/senderista/hashtable-benchmarks/blob/mast...).
I can't explain the peaks around 1M in many of the plots; I didn't investigate them at the time and I don't have time now. It could be a JVM artifact, but I did try to use JMH "best practices", and there's no dynamic memory allocation or GC happening during the benchmark at all. It would be interesting to port these tables to Rust and repeat the measurements with Criterion. For more informative graphs I might try a log-linear approach: divide the intervals between the logarithmically spaced data sizes into a fixed number of subintervals (say 4).
-
Inside boost::unordered_flat_map
I think "bidirectional linear probing" is an underrated approach (and much simpler): https://github.com/senderista/hashtable-benchmarks/blob/master/src/main/java/set/int64/BLPLongHashSet.java
-
A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
I will probably never get around to porting my bidirectional linear probing integer hash set from Java to C++, but I hope someone can try adapting BLP to general C++ hashmaps and hashsets, because it significantly outperforms Robin Hood in my benchmarks.
-
Ask HN: Who wants to be hired? (March 2022)
https://homes.cs.washington.edu/~magda/papers/wang-cidr17.pd...
I'm most interested in developing high-performance database engines in low-level languages, but open to any challenging systems programming project. I've been working in C++ for the last 2 years, but have written nontrivial projects in Rust and Java as well (e.g., https://github.com/senderista/rotated-array-set, https://github.com/senderista/hashtable-benchmarks). I would enjoy using Rust or Zig on a new project, but I consider the project itself to be much more important than the language it's written in. I am not interested in cryptocurrency, adtech, or fintech projects.
boden
-
Ask HN: Who wants to be hired? (March 2022)
Remote: Yes
Willing to relocate: Yes
Technologies: Frontend + backend, C/C++, Objective-C, TypeScript, JavaScript/ES6, Node.js, Vue/React, AWS, Python, Go, Ruby, Postgres, MySQL
Résumé/CV: on request
Email: [email protected]
Co-author of https://github.com/AshampooSystems/boden/, https://www.boden.io/
Currently COO at a SaaS startup. Prior to that, Head of Engineering at another company in the audio software industry. More than 12 years of management and development experience in numerous international projects. I have worked in both native and web development. I am a generalist with deep technical roots who is capable of quickly learning and adapting to new requirements.
Looking for a new challenge either in management or software engineering.
-
Ask HN: Who wants to be hired? (October 2021)
Location: Oldenburg, Germany
Remote: Yes
Willing to relocate: Yes
Technologies: C/C++, Objective-C, TypeScript, JavaScript/ES6, Node.js, Vue/Svelte, AWS, Python, Go, Ruby, Postgres, MySQL
Résumé/CV: on request
Email: [email protected]
Co-author of https://github.com/AshampooSystems/boden/, https://www.boden.io/
Currently COO at a startup. Prior to that, Head of Engineering at another company. More than 10 years of management and leadership experience in numerous projects, products, and circumstances.
Besides my current role, I have been working in a company group with more than 100 employees and successfully introduced Scrum and self-management methodologies in of their companies (40+ employees).
I can work as engineering manager, architect, full stack developer, or in specialized projects that require C/C++ knowledge. I have experience in nearly all fields of programming and a good ability of abstract thinking.
-
🎉🎉🎉 I've released the react-native Camera library!! 🎉🎉🎉
An example of how GPL can kill a project: Boden is a C++ GPL'd cross-platform mobile app framework that is pretty dead atm atm because of their license choice
What are some alternatives?
unordered_dense - A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
me
myria - Myria is a scalable Analytics-as-a-Service platform based on relational algebra.
react-native-vision-camera - 📸 The Camera library that sees the vision. [Moved to: https://github.com/mrousavy/react-native-vision-camera]
js2scheme
nafeez.xyz - âš¡ My personal website.
flat_hash_map - A very fast hashtable
react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library.
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
cv