At 11:49 AM 1/6/01 +0000, Simon Cozens wrote:
>On Fri, Jan 05, 2001 at 11:42:32PM -0500, Uri Guttman wrote:
> >   SC> 5x slowdown.
> >
> > not if you just check a flag in the main loop. you only check the event
> > system if you have pending events or signals, etc. the key is not
> > checking all events on each pass thru the loop.
>
>Which is exactly what Chip did in his safe-signals patch. 33% slowdown.

I think you misremember that number. IIRC it was somewhere between 3%-5%. 
Heck, I barely managed a 33% slowdown forcing all variable access to aquire 
a per-variable mutex. (A recursive one, no less...)


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to