Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-24 Thread Mark Kvale
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 suspec

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-24 Thread hv
"Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> 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 s

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-24 Thread Simon Cozens
Nicholas Clark: > It tells you how good the parrot regexp opcode dispatch is relative to the > perl regexp opcode dispatch. Is the current Parrot regex engine worth comparing against? Is it sufficiently extensibly-designed to allow it to do all that's required of it by A5 and more? -- There is

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-23 Thread hv
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. Hugo

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-23 Thread Mark Kvale
On Tuesday 23 July 2002 02:43 pm, you wrote: > On Tue, Jul 23, 2002 at 08:54:29PM +, Angel Faus wrote: > > As a result of this bugfix, very simple regular expressions get a > > noticable speed-up. > > > > For example, this is the data of matching the pattern /^zza/ against > > "zzabcdc

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-23 Thread Nicholas Clark
On Tue, Jul 23, 2002 at 11:08:28PM +0100, Simon Cozens wrote: > [EMAIL PROTECTED] (Nicholas Clark) writes: > > Is there an easy way any regexp internals guru can suggest to patch perl5's > > regexp code to disable the optimiser? > > Benchmarking product X against deliberately-crippled product Y t

Re: perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-23 Thread Simon Cozens
[EMAIL PROTECTED] (Nicholas Clark) writes: > Is there an easy way any regexp internals guru can suggest to patch perl5's > regexp code to disable the optimiser? Benchmarking product X against deliberately-crippled product Y tells you what, precisely? -- Use an accordion. Go to jail.

perl5 regexp optimiser (was Re: [perl #15425] Regex bugfix and speed-up)

2002-07-23 Thread Nicholas Clark
On Tue, Jul 23, 2002 at 08:54:29PM +, Angel Faus wrote: > As a result of this bugfix, very simple regular expressions get a > noticable speed-up. > > For example, this is the data of matching the pattern /^zza/ against > "zzabcdcdcdcdzz" 100.000 times, with the loop inside parrot