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.
e3aa4df090
The action now computes the number of passed parameters during the code generation and the parameters are declared directly as $1, $2, etc. in the generated function. This does not speed up the benchmark suite execution statistically significantly on V8. Detailed results (benchmark suite totals): --------------------------------- Test # Before After --------------------------------- 1 28.68 kB/s 29.08 kB/s 2 28.77 kB/s 28.72 kB/s 3 28.89 kB/s 28.78 kB/s 4 28.84 kB/s 28.57 kB/s 5 28.86 kB/s 28.84 kB/s --------------------------------- Average 28.81 kB/s 28.80 kB/s --------------------------------- Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2 |
15 years ago | |
---|---|---|
.. | ||
compiler.js | 15 years ago | |
metagrammar.js | 15 years ago | |
metagrammar.pegjs | 15 years ago |