Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/libexec/ld.elf_so



Module Name:    basesrc
Committed By:   junyoung
Date:           Thu Dec  5 04:56:57 UTC 2002

Modified Files:
        basesrc/libexec/ld.elf_so: load.c map_object.c rtld.c rtld.h

Log Message:
A bit speedup: in _rtld_load_object(), save the number of calls to
strcmp() by performing path name length comparison first. In the test
with Mozilla, the number was reduced to 1068 from 7182 (yes, we saved
6114 strcmp()!).


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 basesrc/libexec/ld.elf_so/load.c \
    basesrc/libexec/ld.elf_so/map_object.c
cvs rdiff -r1.88 -r1.89 basesrc/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.64 -r1.65 basesrc/libexec/ld.elf_so/rtld.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index