Possible lookup cache optimization

Ulrich Drepper drepper@redhat.com
Sun Aug 26 10:43:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> What about merging elf_machine_lookup_no*_p into one function which would
> return a bitmask? As far as I can see they are always used together, and
> having them in one char or int would mean we could pass around just one
> argument, not 2, and compare one argument, not 2 when checking cache (and
> also store just one).
> What do you think?

Makes sense now that we need these values outside the lookup functions.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list