This is amazing!
It also speeds up my compilation time by more than x10.
I have a lot of @printf statements and this has changed my life :)

What would be wrong with a macro something like:
macro fastprintf(args...)
    :( f()=@printf $(args...); f() )
end

I did a comparision of 50 simple @printf statements:
@printf:    11.563024 seconds (6.29 M allocations: 274.179 MB, 2.47% gc 
time)
@fastprintf: 0.709322 seconds (300.52 k allocations: 14.809 MB, 0.85% gc 
time)


Why not update @printf macro to use this method directly?

Reply via email to