🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42589

performance increase by declaring num elems in array

#42589
From: Ralph J. Verrilli
Date: Mon, 13 Nov 1995 00:00
28 lines
776 bytes

will I get a performance increaseing by telling gcc the number of elements
in arrays that are passed between functions?

Fo example,

is

int add (double arg_1[5], double arg_2[5])

better than


int add (double arg_1[], double arg_2[])


Thanks.

rj

-- 
Ralph J. Verrilli

rjv@cdt.com
Composite Design Technologies
47 River St, Suite 210
Wellesley, MA 02181
Technical Details
Message-ID: <rjv-1311951644320001@cdt.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2dbe0f9f847f9edc,start
X-Google-Attributes: gid11318c,public
From: rjv@cdt.com (Ralph J. Verrilli)
Subject: performance increase by declaring num elems in array
Date: 1995/11/13
Message-ID: <rjv-1311951644320001@cdt.com>
X-Deja-AN: 119297051
organization: Composite Design Technologies
newsgroups: gnu.gcc.help