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,2c498d4a35691643 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "ldb" Newsgroups: comp.lang.ada Subject: Re: Allocated aligned arrays Date: 23 Nov 2005 06:28:31 -0800 Organization: http://groups.google.com Message-ID: <1132756111.751623.309350@g14g2000cwa.googlegroups.com> References: <1132349753.719540.119910@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 206.210.81.52 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1132756117 24559 127.0.0.1 (23 Nov 2005 14:28:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Nov 2005 14:28:37 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/416.11 (KHTML, like Gecko) Safari/416.12,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=206.210.81.52; posting-account=V3awPg0AAAB11Uk1Sshvlrxz0peUf-At Xref: g2news1.google.com comp.lang.ada:6557 Date: 2005-11-23T06:28:31-08:00 List-Id: Thanks for all the responses. I have looked into user-defined storage pools, but they appear to have two very large limitations: Can they be dynamically sized? Can I only associate entire types with storage pools.. or can I associate individual instances of a type with different pools? In other words, I'd like to be able to allocate the storage-pool size at run-time, after I know the dimensions of the input. I can't really seem to figure out if this is even possible. And furthermore, I'd only like certain instances of a particular class to use that storage pool, not all of them (I don't want every instance of a particular variable in a large structure to have to use my storage pool). Perhaps, then, using subtypes, there is a way around the second issue? But, again, the entire purpose of requesting aligned arrays is to improve the speed of the run, so any rigorous conversion function is essentially a killer, also.