r/tinycode • • Jan 22 '16

The fastest implementation of functions in existence is this <250 SLOC JavaScript file.

https://github.com/MaiaVictor/optlam/blob/master/optlam.js
21 Upvotes

9 comments sorted by

View all comments

Show parent comment

10

u/wisty Jan 22 '16

It's lambda calculus functions. You declare these functions to have certain attributes, create a graph of functions, then the "function implementation" can optimise it.