Dan writes:
> True enough. Oh, don't get me wrong, I think we can go faster than 
> the perl 5 regex engine. I just don't think we can do in 2 seconds 
> what takes perl 5 10 seconds... :-P

Yeah, I meant the other way around.  Lacking any kind of formal
specification for it, my general thought is that people will 
generally (but not the biotech or chip design guys) feel OK 
about parrot if their regexes are only 5x slower.  After that
people start asking pointed questions.

> Last time I looked at the perl 5 regex engine (and I'm still 
> recovering, but the medication's helping) it was just a little 
> bytecode engine with massive amounts of Nasty Evil piled on top. I 
> think we can get a nice boost from the JIT or computed goto core, 
> enough so that a single big bytecode interpreter (parrot) will work 
> better than two smaller bytecode interpreters (which is what perl 5 
> w/the regex engine is, more or less)

It'll be interesting to see how much cache coherency plays into
the picture.  The twitchy, beady-eyed fanged little hairy regex
engine does have the benefit of being able to nestle into modern
CPU caches, and get 1-5 ns access time rather than 30-120 ns.
Probably accounts for its evolutionary hardiness.

F.

Reply via email to