Discussion: Slow Regex Code
Afficher un message
Vieux 10/06/2008, 18h29   #13
Razii
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Slow Regex Code

On Tue, 10 Jun 2008 13:40:37 +0200, Mirco Wahab
<wahab@chemie.uni-halle.de> wrote:

>> How do you know that Tcl won't speed up and remain faster than Perl if
>> it's allowed to split the regex at |

>
>It may or it may not. But the difference
>will most probably approach zero, as I
>tried to say.


How do you know when you have not even tried it yet? Perhaps Tcl will
be still twice faster than Perl.

In any case, Tcl regex is faster

http://swtch.com/~rsc/regexp/regexp1.html

  Réponse avec citation
 
Page generated in 0,04355 seconds with 9 queries