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
- Re: Speaking of signals... Rocco Caputo
- Re: Speaking of signals... Uri Guttman
- Re: Speaking of signals... Rocco Caputo
- Re: Speaking of signals... nick
- Re: Speaking of signals... Uri Guttman
- Re: Speaking of signals... Dan Sugalski
- perl IS an event loop (was Re: Speaking of signals...) Uri Guttman
- Re: perl IS an event loop (was Re: Speaking of sign... Simon Cozens
- Re: perl IS an event loop (was Re: Speaking of ... Uri Guttman
- Re: perl IS an event loop (was Re: Speaking... Simon Cozens
- Re: perl IS an event loop (was Re: Speaking... Dan Sugalski
- Re: perl IS an event loop (was Re: Speaking... Simon Cozens
- Re: perl IS an event loop (was Re: Speaking... Dan Sugalski
- Re: perl IS an event loop (was Re: Speaking... Jarkko Hietaniemi
- Re: perl IS an event loop (was Re: Speaking... Uri Guttman
- Re: perl IS an event loop (was Re: Speaking... Dan Sugalski
- safe signals (was Re: perl IS an event loop... Nicholas Clark
- Re: perl IS an event loop (was Re: Speaking... Uri Guttman
- Re: perl IS an event loop (was Re: Speaking... Uri Guttman
- Re: perl IS an event loop (was Re: Speaking... Dan Sugalski
- Re: perl IS an event loop (was Re: Speaking... Nick Ing-Simmons
