[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] FT_SquareFix?
From: |
David Turner |
Subject: |
Re: [Devel] FT_SquareFix? |
Date: |
Mon, 30 Apr 2001 17:51:06 +0200 |
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