Could be faster ;) http://coreperf.com/projects/rejit/introduction.html#dna_matching_benchmark
To give a tiny bit more details than Jakob, I guess a first explanation is that the regexp engine is also a JIT. So v8 generates tailored code to match each regular expression. On Wednesday, 26 February 2014 09:48:41 UTC, Jakob Kummerow wrote: > > V8 has a very fast regexp engine. > > > On Tue, Feb 25, 2014 at 7:14 PM, Heath Matlock > <[email protected]<javascript:> > > wrote: > >> In the language shootout, the v8 engine outperforms all other languages: >> http://benchmarksgame.alioth.debian.org/u64/performance.php?test=regexdna >> >> Would someone take a little time to explain this? >> >> -- >> -- >> v8-users mailing list >> [email protected] <javascript:> >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
