Re: Get rid of deprecated widgets



On Wed, 2007-12-05 at 20:26 +0100, Soeren Sandmann wrote:
> Alexander Larsson <alexl redhat com> writes:
> 
> > A possibly interesting approach would be to put all the deprecated code
> > in another ELF section and place that section at the end. This will mean
> > that the deprecated stuff will be in one continous place and might make
> > paging in non-deprecated code slightly more efficient and less seeky.
> > I'm not sure you would be able to measure the difference this would make
> > though...
> 
> That particular optimization may not be very measurable, but having
> the ability to move arbitrary functions around would make it possible
> to put the most used functions together at the front of the library,
> based on a desktop-wide profile. This would very likely be measurable.

Someone could try using -freorder-functions which does this, based on a
profile.



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