I did a quick search on GitHub for today's code that uses it, and
actually found out that people do use it today, but generally I agree,
this is a legacy API, legacy implementation, and the best thing we can
do for it is to forget about it.
The `hcreate(3)` API is interesting only because it has a very limited
use, yet it still exists in libc. So it's kind of interesting in a
circus way; we want to see it, but then we want to get out of it, and we
want to continue our rational lives without clowns and bearded ladies.
There are probably many thirdparty hashtables for C which work much
better than this.
The `hcreate(3)` API is interesting only because it has a very limited use, yet it still exists in libc. So it's kind of interesting in a circus way; we want to see it, but then we want to get out of it, and we want to continue our rational lives without clowns and bearded ladies.
There are probably many thirdparty hashtables for C which work much better than this.