munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.75k stars 1.03k forks source link

Has someone tested lox implementations? #1008

Closed Uriegas closed 2 years ago

Uriegas commented 2 years ago

Not an issue, just want to know if someone has tested the efficiency of the different lox implementations.

munificent commented 2 years ago

I've done a small amount of benchmarking of the two Lox interpreters in the book. See the benchmark Lox scripts here: https://github.com/munificent/craftinginterpreters/tree/master/test/benchmark