about summary refs log tree commit diff
path: root/users/tazjin/rlox/examples/slow.lox
fun fib(n) {
  if (n < 2) return n;
  return fib(n - 1) + fib(n - 2);
}

var before = clock();
print fib(40);
var after = clock();
print after - before;