Get the latest tech news
I added some optimizations to my compiler that turns Lisp into JavaScript
Smaller programs that do less work.
Well, simpler expressions require less run-time operations which makes optimized code run faster. The optimize function performs a post-order traversal of the AST (similar to a depth-first search) as each expression is folded into a literal value. For this project, I needed tests to ensure minor parser, optimization, or code generation tweaks didn't break something unknown.
Or read this on Hacker News