HNHacker News
TopNewBestAskShowJobs

TheNumbat

408 karma · joined July 25, 2017

https://thenumb.at/
submissionscomments
TheNumbat··on Ask HN: Share your personal website
https://thenumb.at/
TheNumbat··on OxCaml - a set of extensions to the OCaml programming language.
Indeed, it says that because we don't have a library of NEON intrinsics (like ocaml_simd_sse) yet, but the extension itself works.
TheNumbat··on OxCaml - a set of extensions to the OCaml programming language.
Yeah, this would be great! Currently only 128-bit SSE/NEON is working but AVX is coming very soon. There's also nothing blocking Windows, but it will require some work. (I added the SIMD support in OxCaml)
TheNumbat··on Functions are vectors
See footnote 3.
TheNumbat··on Oxidizing OCaml: Locality
Yes - upcoming posts will cover the uniqueness and data-race-freedom designs.
TheNumbat··on Optimizing Open Addressing
I was actually wondering about that - it appears a (i+i^2)/2 sequence makes insertions (and by extension erases with rehashing) 7-10% faster, which is pretty significant. Lookups and probe lengths are about the same, so I think the conclusions stand.
TheNumbat··on Optimizing Open Addressing
Agreed - I do mention in the post that open addressing is impractical when using intrusive linked lists, which are common in low level data structures.
TheNumbat··on Optimizing Open Addressing
I just benchmarked absl::flat_hash_map and got results comparable to Robin Hood with a load factor between 75% and 90%, which makes sense. It's also faster for looking up missing keys, so seems like a good option. I didn't benchmark the maximum probe lengths, though, so not sure on that front.