>>>>> "PCG" ==   <[EMAIL PROTECTED]> writes:

  PCG> On Mon, Jul 16, 2001 at 04:46:36AM -0700, Joshua Pritikin 
<[EMAIL PROTECTED]> wrote:

  PCG> Boy, I just learned more about perl internals than I ever imaged. The
  PCG> only thing remaining is the regex machine and the exact details of this
  PCG> $%%&%&ยงยง&% closure cloning business.

good luck there. the regex engine is not reentrant nor easily saved for
a coroutine.

perl6 will be making the regex system generate regular perl ops so the
engine will be thread safe and yieldable.

  PCG> It's much slower than earlier versions since it has to walk the whole
  PCG> callchain on a task switch, but still it's only about three times slower
  PCG> than an empty method call (that is, even the one-line wrapper around the
  PCG> transfer function (Coro::schedule) costs more time then the transfer
  PCG> itself, with 4 leevls deep callchain).

i feel this will be impossible to debug fully with perl5 but i laud your
effort. you might want to talk with p5p and the guy (sky) who is doing
all the ithread work.

when you finish, put some of your energy toward perl6 (maybe the new
event loop and op code loop).

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Learn Advanced Object Oriented Perl from Damian Conway - Boston, July 10-11
Class and Registration info:     http://www.sysarch.com/perl/OOP_class.html

Reply via email to