use switch to khashl for hash table outside of GVL
commit38eba33cb1b7b0a3c93afcaa79263e3b1daf4955
authorEric Wong <bofh@yhbt.net>
Sun, 24 Mar 2024 00:19:18 +0000 (24 00:19 +0000)
committerEric Wong <bofh@yhbt.net>
Mon, 25 Mar 2024 21:19:09 +0000 (25 21:19 +0000)
tree3f0c021efa8e134b0190dc2f4f012653566926f4
parent6d5ba2a10884303dc52df2557a08f3a87d1299b1
use switch to khashl for hash table outside of GVL

Given the history of Ruby removing public C APIs, get ahead
of potential incompatibilities by switching to an externally
maintained unordered hash table.

khashl is a newer, more memory-efficient evolution of the
khash hash table adopted by the git SCM and this will be
my first (and likely not last) time using it in a public
codebase.
ext/raindrops/khashl.h [new file with mode: 0644]
ext/raindrops/linux_inet_diag.c