You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 2fc877e875 Match literals using |RegExp.prototype.test|
This is little faster than |String.prototype.match| in successful cases
since return value of |test| is just a boolean, not a special array as
with |match|.

Speed impact
------------
Before:     130.75 kB/s
After:      131.81 kB/s
Difference: 0.81%

Size impact
-----------
Before:     1059811 b
After:      1058371 b
Difference: -0.14%

(Measured by /tools/impact with Node.js v0.4.8 on x86_64 GNU/Linux.)
13 years ago
..
checks.js Compiler checks and passes are named for easier reference from tests 14 years ago
compiler.js Rewrite variable handling in generated parsers 13 years ago
emitter.js Match literals using |RegExp.prototype.test| 13 years ago
parser.js Match literals using |RegExp.prototype.test| 13 years ago
parser.pegjs Add two missing |var|s (fix global namespace pollution) 14 years ago
passes.js Rewrite variable handling in generated parsers 13 years ago
peg.js Add PEG.js version information and homepage header to peg.js 13 years ago
utils.js Rewrite variable handling in generated parsers 13 years ago