2 ms·
IMHO this is one area where the C committee could improve the situation by mandating a sane and useful hashtable implementation for the stdlib. Or at the very
by jandrese 6y ago
IMHO this is one area where the C committee could improve the situation by mandating a sane and useful hashtable implementation for the stdlib.
Or at the very least just deprecate the old one. I can't remember ever seeing it used in code.
- coliveira 6y agoHash tables in C are not part of the standard. They are part of POSIX, so it is mandated only on UNIX-ish environments. The standard committee has nothing to do with that.
- jandrese 6y agoMaybe the should be. I know C is all about staying minimal, but native hash tables have proven themselves to be extremely useful in every other language where they are present.