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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5556ca7de188d5ef X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-14 01:46:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: Multidimensional array vs. array of array Date: Fri, 14 Dec 2001 09:45:21 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <3C17F5BF.AEBE40C3@worldnet.att.net> <9vb864$e8rbj$3@ID-25716.news.dfncis.de> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1008323121 6392 217.17.192.37 (14 Dec 2001 09:45:21 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Fri, 14 Dec 2001 09:45:21 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:17901 Date: 2001-12-14T09:45:21+00:00 List-Id: * Nick Roberts wrote: >Does this help at all? Yes, but I perfer a differnt approach: Returning a record containing a multidimensional array, define an constraint array of array type from the constraint result (ws : Workspace := Init_Workspace; type ... ws.length;), converting (copy) the multidimensional array to a variable of the new type and work with this new type. This is reasonable, because the following computations are much slower, than the conversion itself.