MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/bsuurg/making_the_obvious_code_fast/eozpyb2
r/programming • u/[deleted] • May 25 '19
263 comments sorted by
View all comments
Show parent comments
1
in terms of execution, so if there is any intermediate array being created or not
1 u/Astrokiwi May 27 '19 Python/numpy creates intermediate arrays, because the precompiled library calls are linked by interpreted Python, but I think Fortran will optimize them out, although that might depend on the compiler and its settings.
Python/numpy creates intermediate arrays, because the precompiled library calls are linked by interpreted Python, but I think Fortran will optimize them out, although that might depend on the compiler and its settings.
1
u/Sopel97 May 27 '19
in terms of execution, so if there is any intermediate array being created or not