We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local add = function(x) return function(y) return x + y end end
is two times slower than
local add = function(x, y) return x + y end
The idea is to rewrite former to latter but only for functions that are always fully-applied, e.g. a partial application
add(i)
never happens in the program being compiled;
The applications need to be rewritten too:
add(x)(y) ===> add(x,y)
The text was updated successfully, but these errors were encountered:
Unisay
No branches or pull requests
is two times slower than
The idea is to rewrite former to latter but only for functions that are always fully-applied, e.g. a partial application
never happens in the program being compiled;
The applications need to be rewritten too:
The text was updated successfully, but these errors were encountered: