4 ms·
OK... so how did junk like this ever get into enough implementations that people were forced to include it in the standard? ;)
by to3m 9y ago
OK... so how did junk like this ever get into enough implementations that people were forced to include it in the standard? ;)
- emmelaich 9y agotsearch/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.