Re: [v8-users] Why is v8 so much faster than other langs in the regex-dna test?

2014-02-26 Thread Jakob Kummerow
V8 has a very fast regexp engine. On Tue, Feb 25, 2014 at 7:14 PM, Heath Matlock heathmatl...@gmail.comwrote: 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

Re: [v8-users] Why is v8 so much faster than other langs in the regex-dna test?

2014-02-26 Thread Alexandre Rames
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