Python-知识总结

numba-加速Python运行

numba包可以加速Python代码运行达到C,C++水平。

import numba
@numba.jit
def f(x,y):
  return x + y

reference

posted @ 2021-04-18 17:40  -Rocky-  阅读(42)  评论(0编辑  收藏  举报