Writing that macro wouldn't be particularly hard, but note that you can already write:
ti = @elapsed xxx = 10 On Friday, September 11, 2015 at 5:08:15 PM UTC-4, [email protected] wrote: > > To be clear, I want a macro while allows me to do: > value, time = @timeret(myfunc()) > where myfunc() is only called once. >
