This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold][patch] Demangle a symbol only once per Version_script_info::get_symbol_version_helper call
- From: Ian Lance Taylor <iant at google dot com>
- To: Mikolaj Zalewski <mikolajz at google dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 31 Jan 2009 16:45:31 -0800
- Subject: Re: [gold][patch] Demangle a symbol only once per Version_script_info::get_symbol_version_helper call
- References: <7ebec9e70901310925l2ef2a3f7m7115f22a2b628f65@mail.gmail.com>
Mikolaj Zalewski <mikolajz@google.com> writes:
> Currently, this function is called for each version script entry. For
> libkhtml in KDE 3.5.10, this increased the CPU time by 50%.
>
> 2009-01-31 Mikolaj Zalewski <mikolajz@google.com>
> * script.cc (Lazy_demangler): New class
> (Version_script_info::get_symbol_version_helper): Demangle a
> symbol only once.
Approved and applied.
Thanks.
Ian