3 ms·
tsearch/hsearch/lsearch have been around for at least 30 years. My guess is that they've been around for a lot longer. Why not have these anyway? Otherwise p
by emmelaich 9y ago
tsearch/hsearch/lsearch have been around for at least 30 years. My guess is that they've been around for a lot longer.
Why not have these anyway? Otherwise people will make their own (probably buggy) equivalents.
I'm actually surprised that people aren't aware of them.
- to3m 9y agoThis is specifically about hcreate/hsearch, which are utterly useless, since you only get one hash table at a time. The reason you don't want crap like this is just that: it's crap. The _r versions look perfectly sensible.