>>>>> "JS" == Jochen Stenzel <[EMAIL PROTECTED]> writes:
JS> I liked the idea of a potential acceleration because my handlers
JS> should return as soon as possible (to enable the loop to serve
JS> more events), this was my intention to check this possibility.
but i doubt you will be creating and destroying handlers as much as you
will be doing i/o and other work. the overhead of watch construction
should not matter in the bigger picture of your project. and many
watchers run for long periods so the construction overhead is averaged
out to almost nothing. i wouldn't prematurely worry about optimizing it
unless you canshow it is a bottleneck. it would be hard to imagine a
program that mostly did watcher creation/destruction.
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com