mirror of git://git.musl-libc.org/musl
141d3b5c2a
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. |
||
---|---|---|
.. | ||
hsearch.c | ||
insque.c | ||
lsearch.c | ||
tdestroy.c | ||
tsearch_avl.c |