Re: Kill another 7% from Pango
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Federico Mena Quintero <federico ximian com>
- Cc: performance-list gnome org
- Subject: Re: Kill another 7% from Pango
- Date: Tue, 22 Nov 2005 16:50:16 -0500 (EST)
On Tue, 22 Nov 2005, Federico Mena Quintero wrote:
> Hi,
>
> One thing we discussed on #performance once was that using
> G_TYPE_INSTANCE_GET_PRIVATE() could be making critical code slower than
> needed; this is because that macro causes lookups in the type system.
>
> I took some profiles, and filed this:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=322174
>
> The result is to shrink pango_fc_font_get_glyph() from 8.37% down to
> 1.31% on pango-language-profile.
>
> Could someone please review the patch attached to the bug?
Committed. Thanks.
> Thanks,
>
> Federico
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]