Re: gdmgreeter CPU usage
- From: Morten Welinder <mwelinder gmail com>
- To: Federico Mena Quintero <federico ximian com>
- Cc: performance-list gnome org, Padraig O'Briain <Padraig Obriain sun com>
- Subject: Re: gdmgreeter CPU usage
- Date: Wed, 18 Jan 2006 21:44:47 -0500
score is a member of a locally defined struct and it does not
appear to escape. So it can probably be made to use ints,
assuming that the range of values used is sane.
But it feels as-if a large list is created and old the first few
elements are needed. If that is truly the case, optimizing
the sort is not the right place to start; avoiding unneeded
work is.
Morten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]