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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,35edde140291c79e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.141.4 with SMTP id k4mr922435bku.6.1335463754661; Thu, 26 Apr 2012 11:09:14 -0700 (PDT) Path: h15ni168608bkw.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Can Ada iterate over Nd array? Date: Thu, 26 Apr 2012 11:09:00 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <26754113.2767.1335431755764.JavaMail.geo-discussion-forums@vbki8> NNTP-Posting-Host: a498c09bdb59ef5fd31791f67afb3286 Mime-Version: 1.0 X-Trace: e08eb01e61fabd03eaf89284a41f84ab X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <26754113.2767.1335431755764.JavaMail.geo-discussion-forums@vbki8> X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=e08eb01e61fabd03eaf89284a41f84ab X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-04-26T11:09:00-07:00 List-Id: On 04/26/2012 02:15 AM, gautier.de.montmollin@gmail.com wrote: > > We could make a poll here: which is the maximum number of array dimensions you ever used ? > My answer: probably 5 or 6. I don't recall ever using more than 3. I don't think arrays with more than about 30 dimensions are going to be possible with current technology: given only 2 index values/dimension, that's 2 ** 30 components, or 1 GB if each component is a byte. Much more than that and you won't be able to allocate the array. Even in the foreseeable future it doesn't look as if a 100-dimension array will be possible. 1000 dimensions is right out! -- Jeff Carter "I'm a kike, a yid, a heebie, a hook nose! I'm Kosher, Mum! I'm a Red Sea pedestrian, and proud of it!" Monty Python's Life of Brian 77