Until recently, it was necessary for your function definition to be a single expression in order to be inlined, but Jameson's recent work has changed that. I'm not actually sure at this point what the criterion is. Maybe Jameson can spell it out for us.
On Mon, Apr 21, 2014 at 11:29 AM, Laszlo Hars <[email protected]> wrote: > Stefan, I used rotations in the factor() experiments a while ago, and it > was slow. When is a function inlined in Julia? Can we ask the JIT compiler > politely to do it? Maybe the explicit function calls made it slow in my > code? >
