[ANN] wxSqueak update

Rob Gayvert rtg at rochester.rr.com
Fri Nov 12 12:27:45 UTC 2004


Pavel,

That's a great idea. This makes the initial window display much
smoother, and almost completely eliminates the layout flicker. I 
thought this would cause the CPU usage to go way up, but even when 
there are UPDATE_UI events being generated, it only goes up to about 
40% on my machine. 

.. Rob

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of Pavel
> Krivanek
> Sent: Friday, November 12, 2004 4:42 AM
> To: The general-purpose Squeak developers list
> Subject: Re: [ANN] wxSqueak update
> 
> 
> 
> Thank you very much. Excellent work.
> 
> Try this patch and regenerate eventProcess. The performance will be much
> better.
> 
> WxEvtHandler>>runEventProcess
>     EventProcess ifNotNil: [ self stopEventProcess ].
>     EventProcess :=
>     [
>         [ true ] whileTrue: [
>             (Delay forMilliseconds: 5) wait.
>             100 timesRepeat: [Wx processEvents].
>         ].
>     ] forkAt: Processor
> 
> 
> 
> 
> Pavel
> 
> 
> 



More information about the Squeak-dev mailing list