Hi,

On 01/05/2014 02:31 AM, [email protected] wrote:
> Before converting the entire Octane RegExp benchmark to run using
> RegExp.JS I thought I just try the first RegExp tested in the benchmark.
> This means the in terms of code changes:
>
>    diff --git a/regexp.js b/regexp.js
>    - var re0 = /^ba/;
>    + var re0 = new RegExpJS(/^ba/);

Any reasons why you are using the deconstructing RegExpJS function, instead of giving a string as argument?

 var re0 = new RegExpJS("^ba");

--
Nicolas B. Pierron

_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to