Quoting Jean-Marc Lasgouttes <[EMAIL PROTECTED]>:

> >>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>
> Abdelrazak> Searching in the font info cache is expensive. So, it
> Abdelrazak> could be either the searching of the font info in the
> Abdelrazak> 4-dimensional C-array or the searching in the font width
> Abdelrazak> map.
>
> There is no search in the 4-dim array, it is pure indexing. What is
> more expensive is the map.

But Andre said that he used the reference to a pointer explicitely to avoid to
call this index twice because it showed under gprof...

I know that indexing an array should be cheap but a 4-d array, who knows...

A bdel.

Reply via email to