octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question of JITC


From: Max Brister
Subject: Re: Question of JITC
Date: Sat, 10 Aug 2013 14:56:23 -0700

On Thu, Aug 8, 2013 at 1:11 AM, lyh.kernel <address@hidden> wrote:
> Hello Max,
>
> There are three JITC entry points currently - one for simple for statement,
> one for while statement and the other one for do_multi_index_op. I think
> do_multi_index_op JIT compiling would be invoked in function call/matrix
> indexing, but I have no idea how to trigger it. Would you mind to give me a
> example?
>
> Thanks a lot
>
>

The overload on do_multi_index_op is used to compile anonymous
functions. For example,

fn = @(x) x+1;
y = fn(5);

-- 
Max Brister


reply via email to

[Prev in Thread] Current Thread [Next in Thread]