Speedup dwfl_module_addrsym
Mark Wielaard
mjw at redhat.com
Tue Nov 1 09:52:03 UTC 2011
On Mon, 2011-10-31 at 15:30 -0700, Roland McGrath wrote:
> Rather than the goto, move the matching loop into a nested function that
> takes the loop bounds as arguments. Then just call that twice.
That does look nicer than the trusty old goto construct. Pushed with
that change (diff -b attached, actual diff was lots of indentation
changes).
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addrsym_inline_search.diff
Type: text/x-patch
Size: 2049 bytes
Desc: not available
Url : https://fedorahosted.org/pipermail/elfutils-devel/attachments/20111101/04623b30/attachment.bin
More information about the elfutils-devel
mailing list