Re: [linux-audio-dev] GTK performance?

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Thu Apr 28 2005 - 16:48:21 EEST

On Thu, 2005-04-28 at 14:08 +0100, Steve Harris wrote:
> > Still leaves me wondering how on earth gtk can use the equivalence of a
> > 200 Mhz pentium to figure out that nothing happened?
>
> Well, determinging if two floating point numbers are the same is a non
> trivial operation. There can be multiple encodings of, say, 1.3 depending
> on how you got there.
double x;
...

  !(x > 1.3) && !(x < 1.3) ? ... : ... ;
>
> I suspect they take a conservative view and always redraw if thye cant tell
> thier the same.

Still, the pixmap is fairly small, 20 × 20 perhaps. It shouldn't take
all day :)

-- 
   (
    )
  c[]  //  Jens M Andreasen
Received on Thu Apr 28 20:15:06 2005

This archive was generated by hypermail 2.1.8 : Thu Apr 28 2005 - 20:15:07 EEST