https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234949

--- Comment #11 from Mark Johnston <[email protected]> ---
(In reply to Mark Johnston from comment #10)
Hmm, GNU strip seems to do something similar, but manages to be much faster.

Some profiling points at nested loops in create_scn->is_remove_reloc_scn(). 
Changing is_remove_reloc_scn() to use elf_getscn() instead of searching the
section list gets me down to 38s.

Profiling also points at insert_to_sec_list(), which would appear to benefit
from a binary search tree as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to