An experiment on JavaScript runtime inlining created and maintained by Arnaud Buchholz.
The goal is to optimize the following function...
function somefunction (array) {
array.forEach(function (item, index) {
subProcess(item, index);
});
}
... just by changing it into:
var somefunction = inline (function (array) {
array.forEach(function (item, index) {
subProcess(item, index);
});
});