source of the python benchmarks

1 次查看(过去 30 天)
Here in this page MATLAB team has mentioned that they have a dozen of benchmarks shwoing MATLAB is faster than Python:
However I can't find the source code to these benchmarks. I would appreciate if you could provide me with those. I very much like to study them. Thanks in advance.
  6 个评论
the cyclist
the cyclist 2023-9-6
Looks like this is a newer, working NASA link to equivalent content

请先登录,再进行评论。

回答(1 个)

Al Danial
Al Danial 2023-9-10
Broadly speaking I'd agree that MATLAB is often faster than Python. However, with a bit of optimization work you can just as often make Python run faster than MATLAB for computationally intensive work. The combination of Python + Numba can be a viable substitute to mex, that is, you can make your MATLAB code run faster by calling compute intensive functions in Numba-enhanced Python code! https://al.danial.org/posts/accelerate_matlab_with_python_and_numba/ has examples.

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by