标签: arrays dask dask-distributed
我使用numba njit编写了函数,然后编写了在迭代循环中使用它们的总函数。(例如,运行5次迭代)
最后,我使用dask array.map_blocks映射了dasc数组的所有块之间的总函数。
但是计算(即.compute的计算结果)仍然很耗时。
有什么办法可以减少它?
谢谢。
答案 0 :(得分:0)
我建议您通读有关了解性能的文档:https://docs.dask.org/en/latest/understanding-performance.html