Re: A cheap performance optimization



hoi :)

On Sat, Jan 08, 2005 at 12:16:50AM +0800, James Henstridge wrote:
> The only parts of libglade that benefits from --export-dynamic is 
> glade_xml_signal_autoconnect() and the default "custom widget handler" 
> (to handle widgets that show up as lots of blue C's in glade).  Both of 
> these functions use gmodule to look up functions in the process's global 
> symbol table.  If you aren't using either of those, then you don't need 
> --export-dynamic.

I guess it'll be much better if such applications would export functions
used by glade explicitly (e.g. by using --version-script) instead of
relying on gmodule to export _all_ symbols.

So the --export-dynamic parameter should be dropped from gmodules .pc
file.

-- 
Martin Waitz

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]