def timed_eval(eval_func, expr_func):
    t1 = time()
    for i in range(N):
        r = eval_func(expr_func(i))
        if i % 10 == 0:
            sys.stdout.write('.')
    print(" done in %s seconds" % round(t1 - time(), 3))
dataset/ETHPy150Open pydata/numexpr/bench/varying-expr.py/timed_eval/swapped operands of `-`