On Wednesday 24 July 2002 05:42 am, Jeff 'japhy' Pinyan wrote:
> On Jul 24, [EMAIL PROTECTED] said:
> >Nicholas Clark <[EMAIL PROTECTED]> wrote:
> >:Is there an easy way any regexp internals guru can suggest to patch
> >: perl5's regexp code to disable the optimiser?
> >
> >At the moment, I suspect not.
> >
> >This is something I hope we can make easier in the 5.9 track.
>
> Couldn't I just make S_studychunk return some dummy values?  I looked at
> it, and I'm pretty sure I could do it.

That is part of it, but there are other optimizations too, that are not as 
well localized. For instance, the perl5 engine distinguishes between ASCII 
and utf8 strings and optimizes for them separately. Currently at the Parrot 
bytecode level, strings are an abstract dataype for all encodings.

        -Mark

 

Reply via email to