Debian Codegraph @

benchmarks/bench.07.jsonnet

raw
1 local f2(f) = function(x) f(f(x));
2 local id(x) = x;
3
4 local slowId = std.makeArray(20, function(i) if i == 0 then id else f2(slowId[i - 1]));
5
6 slowId[15](42)