That's surprising; I get the same speedup in 0.3 with
function test2()
f = CFunction{Float64,Float64}(foo)
for i=1:100000000
r = call(f, 1.0)
goo(r)
end
end
That's surprising; I get the same speedup in 0.3 with
function test2()
f = CFunction{Float64,Float64}(foo)
for i=1:100000000
r = call(f, 1.0)
goo(r)
end
end