[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    Re: [Devel] FT_SquareFix?
From:       David Turner <david.turner () freetype ! org>
Date:       2001-04-30 15:51:06
[Download RAW message or body]

Hi Tom,

> 
> I wonder: is there an optimization that could be made for calculating the square
> of two 16.16 fixed numbers?  The new bbox code calculates the square of a 16.16
> fixed number in two places, and this might be another place for optimization.
>
Well, sure, it's trivial to optimise. However, I don't think it will really
produce a distinguishable performance boost, given that this the square
is only a very small part of the BBox computation.
 
> Other than that, it might be useful to have such a function.
>
I don't think it's really useful to add right now, given that I don't
think it's going to be heavily used by the rest of FreeType or even
client applications..

- David

_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic