Existent method optimization
tario opened this issue · comments
Dario Seminara commented
def foo(i)
ret = 0
while (i>0)
ret = ret + i
i = i-1
end
ret
end
method(:foo).optimize! # load the method with fastruby to improve performance
Fastruby, fast execution of ruby code (please, killme)
tario opened this issue · comments
def foo(i)
ret = 0
while (i>0)
ret = ret + i
i = i-1
end
ret
end
method(:foo).optimize! # load the method with fastruby to improve performance