From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a6449b2443dcdda1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!not-for-mail From: Peter Hermann Newsgroups: comp.lang.ada Subject: Re: Access keyword Date: Tue, 29 Apr 2008 14:35:33 +0000 (UTC) Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: References: X-Trace: infosun2.rus.uni-stuttgart.de 1209479733 24186 141.58.7.20 (29 Apr 2008 14:35:33 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Tue, 29 Apr 2008 14:35:33 +0000 (UTC) User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.18-5-686 (i686)) Xref: g2news1.google.com comp.lang.ada:21114 Date: 2008-04-29T14:35:33+00:00 List-Id: Sebastien wrote: > I'd like to know if there is performance issue using the access keyword? the indirection via access could even be more workload, if any. A vector is usually an array of many more than 2 elements of some floating point type (i.e. not integer). Performance issues are not relevant below a dozen elements. If a parameter is an array (or a record), the parameter is handed over by reference, not by value (i.e. copy) by most compilers.