3 ms·
Yes, definitely very impressive results. Especially considering how much of an improvement over the Python/Numpy code they could achieve. If you are writing som
by npalli 3y ago
Yes, definitely very impressive results. Especially considering how much of an improvement over the Python/Numpy code they could achieve. If you are writing something from scratch, very good reason to work in Julia.
- guenthert 3y agoUhm, the poor performance of the Python/Numpy code indicates that there's something amiss; perhaps an apple/orange comparison. Don't get me wrong, Python is slow as molasses, but for this kind of applications, almost all time spent is (ought to be) spent in the Numpy code, which is mostly C/C++. Other systems might perform better, but I don't expect more than a factor of two (which itself would be huge in the HPC domain). Worth having a closer look methinks.
- galangalalgol 3y agoIt looks like lots of quick calls to numpy. The python ffi is really slow and is eating all the gains. A large matmul works fine, but not thousands of small ones. Hpy numpy port might fix this.