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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Mon, 2 Oct 2017 13:57:06 -0500 Organization: JSA Research & Innovation Message-ID: References: <4dc188de-802b-41ad-9cdd-b8246eb9a1c7@googlegroups.com> <47cc6474-8b75-4644-92d0-bd1f694c20e7@googlegroups.com> <338b355a-dee4-4c73-b00e-09d9a8430fb1@googlegroups.com> <21692daf-5a52-43f0-a72a-d79e6a7dcc9f@googlegroups.com> Injection-Date: Mon, 2 Oct 2017 18:57:07 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="31234"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:48281 Date: 2017-10-02T13:57:06-05:00 List-Id: "Johan Söderlind Åström" wrote in message news:c6bcd791-6f99-4a9a-aba1-e238b30e611e@googlegroups.com... >> The memory footprint of most arrays is insignificant. I usually do this >> kind >> of thing with Strings, and the typical string is only a few dozen bytes. >> Obviously, if a single array is using most of the memory on the computer, >> then you don't want to copy it. (But you're not going to pass those as a >> parameter in the first place.) > > I am not? In which way should I pass large arrays? You don't. There can only be one such array per program, so passing it as a parameter just adds overhead. Just use a global data structure somewhere. Randy.