I don't see how inlining solves this problem though – if format strings are
run-time, you can't inline anything since you don't know what to inline
until it runs, at which point it's too late.

On Wed, Dec 3, 2014 at 10:20 AM, Stefan Karpinski <[email protected]>
wrote:

> If Julia didn't do inlining, all of your code would take years to run.
>
> On Wed, Dec 3, 2014 at 10:08 AM, Jeff Waller <[email protected]> wrote:
>
>> I think this could be done by instead of expanding into specific
>> (optimized) code dedicated to each argument, it instead would expand into a
>> tree of if statements connected to a bunch of Expr(:call,:typeof,<more
>> args>) and ? : (whatever the parse tree is for that).  Essentially a
>> function call turned inline.  Is there support for that (inlining
>> functions) already?
>>
>
>

Reply via email to