def check_jitpy(f): jit_f = jittify([int, int, int], int)(f) for i in xrange(NUMBER): jit_f(10, i, i)
def check_jitpy(f, prepare): jit_f = jittify(['array', float], float)(f) a = prepare() for i in xrange(NUMBER): jit_f(a, 3.5)