musl/src/search
sin 141d3b5c2a remove struct elem entirely from hsearch.c
There are two changes here, both of which make sense to be done in a
single patch:

- Remove hash from struct elem and compute it at runtime wherever
  necessary.
- Eliminate struct elem and use ENTRY directly.

As a result we cut down on the memory usage as each element in the
hash table now contains only an ENTRY not an ENTRY + size_t for the
hash. The downside is that the hash needs to be computed at runtime.
2014-04-02 18:49:24 -04:00
..
hsearch.c remove struct elem entirely from hsearch.c 2014-04-02 18:49:24 -04:00
insque.c XSI search.h API implementation by Szabolcs Nagy 2011-06-25 18:18:57 -04:00
lsearch.c XSI search.h API implementation by Szabolcs Nagy 2011-06-25 18:18:57 -04:00
tdestroy.c make tdestroy allow null function pointer if no destructor is needed 2013-08-02 21:20:33 -04:00
tsearch_avl.c fix aliasing violations in tsearch functions 2013-08-02 21:13:16 -04:00