Function applications are pretty expensive right now: nested applications always result in a lot of continuation closures and curried functions are also not cheap. An easy optimisation would be to identify built-in functions that are fully applied. Since we know how many arguments they take, we can optimise away all the unnecessary overheads.
Function applications are pretty expensive right now: nested applications always result in a lot of continuation closures and curried functions are also not cheap. An easy optimisation would be to identify built-in functions that are fully applied. Since we know how many arguments they take, we can optimise away all the unnecessary overheads.