From milbo at sonic.net  Wed Jan 16 19:32:59 2008
From: milbo at sonic.net (Stephen Milborrow)
Date: Wed, 16 Jan 2008 20:32:59 +0200
Subject: [Rd] Just-in-time compiler for R
Message-ID: <004e01c8586e$3d98a580$6401a8c0@G3>

Greetings R developers!

I have been working on a just-in-time compiler for R arithmetic expressions.
An example:


    jit(1)                       # turn on just-in-time compilation
    for(i in 1:na)            # example convolution code
        for(j in 1:nb)
          ab[i + j] <- ab[i + j] + a[i] * b[j]


The loop will run about 30% faster. That's not much of a speedup, but the
code is still in early development and the figure will get much better.

If you are interested there is more information at
www.milbo.users.sonic.net/ra.




Stephen Milborrow
www.milbo.users.sonic.net



[Rd] Just-in-time compiler for R
Stephen Milborrow