Liste des Groupes | Revenir à c arch |
On Thu, 16 Jan 2025 3:02:44 +0000, Waldek Hebisch wrote:
MitchAlsup1 <mitchalsup@aol.com> wrote:>>Pass by COMMON block was even faster.>
I do not think so. I LAPACK-like cases there are array arguments.
Normal calling convention needs to store and later read parameters
and pass addresses. COMMON would force copying of entire arrays,
much less efficienct than handling parameters.
SUBROUTINE FOO
COMMON /ALPHA/ i,j,k,a[100],b[100],c[100,100]
See no arguments, passed directly by common-block, no copying of
data, no dope vectors needed.
Les messages affichés proviennent d'usenet.