About the second quote: this is not about Julia being slower than Python; it's about avoiding cache misses. Obviously you should exploit contiguity of the data in memory. Secondly, the 'decorators' like "@inbounds" just ensure that Julia does not redundantly checks bounds, otherwise the inner loop has branches and cannot exploit SIMD.
[1] https://tk3369.wordpress.com/2018/02/04/an-updated-analysis-...
from Hacker News: "WordPress" comments https://ift.tt/2J50ogd
via IFTTT
No comments:
Post a Comment