packrat/lib-R/compiler/tests/jit.R

library(compiler)

oldJIT <- enableJIT(3)

## need a test of level 1 to make sure functions are compiled

## need more tests here

repeat { break }

while(TRUE) break

for (i in 1:10) i

enableJIT(oldJIT)
UBC-MDS/Karl documentation built on May 22, 2019, 1:53 p.m.