Re: Trivial patch reducing fp mults in pango-cairo
- From: Behdad Esfahbod <behdad behdad org>
- To: Daniel Amelang <daniel amelang gmail com>
- Cc: cairo <cairo cairographics org>, performance-list gnome org
- Subject: Re: Trivial patch reducing fp mults in pango-cairo
- Date: Wed, 13 Dec 2006 19:40:58 -0500
On Wed, 2006-12-13 at 16:14 -0800, Daniel Amelang wrote:
>
> Anyway, your patches does get rid of the __add for cx, which is nice,
> but you still have the __mul and the __float. The cy still has the
> __add, __mul and the __float, but you skip all of them if base_y is
> zero...is that often the case?
Yeah, more than 90% of the time, since glyphs are mostly positioned
horizontally. So the patch should at least cut the remaining floating
point ops in pangocairo into half.
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]