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.
7b03f164b8
Passing the context is not necessary, global variable is good enough (passing the context would make more sense if each AST node was translated into a function call, but this isn't the case). The performance gain is very small, on the border of statstical error. Results of benchmark with 100 runs on V8: Before: 31.49 kB/s After: 31.57 kB/s Speedup: 0.254 % Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4 |
14 years ago | |
---|---|---|
.. | ||
checks.js | 14 years ago | |
compiler.js | 14 years ago | |
emitter.js | 14 years ago | |
parser.js | 14 years ago | |
parser.pegjs | 14 years ago | |
passes.js | 14 years ago | |
peg.js | 14 years ago | |
utils.js | 14 years ago |