Is there a penalty (in terms of speed) associated with the use of RECURSIVE subroutines?

Steve Lionel (Intel)
Total Points:
115,345
Status Points:
115,345
Black Belt
November 4, 2009 10:59 AM PST
Rate
 
#3

Unless I'm misreading this, no copies are made.  You are simply passing along the dummy arguments to a routine whose explicit interface is known, so it would just pass the same item by reference.  RECURSIVE allows local variables to be distinct, but I don't see any in this excerpt.  It would also ensure correct behavior for any locally created descriptors or pointers.



Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100764 posts to date.
In the past 24 hours, we have 32 new thread(s) 141 new posts(s), and 200 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99