pegjs/src
David Majda 2d38c5cab3 Handle non-unique expected values of match failuers differently
Before this commit, uniqueness was checked when addding the failure. Now
we make the entiries unique when generating the error report, saving a
little time when the parsing is successful. This does not increase the
benchmark numbers too much though.

Results of benchmark with 100 runs on V8:

  Before:  37.25 kB/s
  After:   37.41 kB/s
  Speedup: 0.241 %

Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like
Gecko) Chrome/6.0.472.63 Safari/534.3
2010-09-28 13:40:48 +02:00
..
checks.js Compiler checks and passes are named for easier reference from tests 2010-08-21 11:55:46 +02:00
compiler.js Remove now mostly useless comment headers from the code 2010-08-21 15:38:17 +02:00
emitter.js Handle non-unique expected values of match failuers differently 2010-09-28 13:40:48 +02:00
parser.js Handle non-unique expected values of match failuers differently 2010-09-28 13:40:48 +02:00
parser.pegjs Simplify utility functions structure + do not export them as part of the PEG object 2010-08-16 21:20:37 +02:00
passes.js Compiler checks and passes are named for easier reference from tests 2010-08-21 11:55:46 +02:00
peg.js Remove now mostly useless comment headers from the code 2010-08-21 15:38:17 +02:00
utils.js Handle non-unique expected values of match failuers differently 2010-09-28 13:40:48 +02:00