Re: big number of relocations in gtk2 binding

On Feb 8, 2008, at 10:56 PM, muppet wrote:

On Feb 5, 2008, at 1:38 PM, Thierry Vignaud wrote:

Our current bindings force the dynamic linker to resolve a huge number
of relocations as show by relinfo[1],
which has an impact on the startup time.
Maybe could we improve startup time through visbility hints and the like?

$ /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread- multi/auto/Gtk2/ /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/ Gtk2/ 3525 relocations, 15 relative (0%), 3857 PLT entries, 29 for local syms (0%), 0 users

How's this?

$ blib/arch/auto/Gtk2/
blib/arch/auto/Gtk2/ 293 relocations, 225 relative (76%), 3848 PLT entries, 28 for local syms (0%), 0 users

The patch hits all but one .xs file, but only to change their #include lines. All the magic is in the new header.


Oi, the 124k patch seems to have blown the mailman message size limit. Try this, instead:

Santa ate all the cookies!
  -- Zella's first, indignant words on Christmas morning, '07.

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