> -----Original Message-----
> From: Arjan van IJzendoorn [mailto:af...@cs...]
> Sent: Tuesday, November 11, 2003 6:06 AM
> To: Wojtek Moczydlowski; wxh...@li...
> Subject: Re: [wxhaskell-users] Problem with wxHaskell
>
>
> Hi Wojtek,
>
> > when the new rectangle is
> > drawn, the old one turns black.
>
> No, it doesn't. Your computer is too fast :-) A colored rectangle is drawn
It makes sense and your modification works. Thanks!
But actually, the speed is very slow. When I drew the rectangle just by
calling putPixel on appropriate points, on 2.5 GHz machine, even after
compilation with -O2 switch it worked slowly. I suppose that my old 33 Mhz
machine with a similar program in Pascal would do better. Of course, Haskell
is not fast, but this was way too slow for the computer of these
capabilities. Any ideas what's the reason?
Wojtek
|