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,ead02e7101c0c023 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-28 10:44:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!demon!grolier!club-internet!not-for-mail From: Laurent Guerby Newsgroups: comp.lang.ada Subject: Re: Problems with large records (GNAT) [continued] Date: 28 Feb 2001 19:35:47 +0100 Organization: Club-Internet (France) Message-ID: <86lmqq8xks.fsf@acm.org> References: <3A9CD67C.9B15C417@linuxchip.demon.co.uk> NNTP-Posting-Host: nas23-110.vlt.club-internet.fr X-Trace: front2m.grolier.fr 983385163 9310 195.36.173.110 (28 Feb 2001 18:32:43 GMT) NNTP-Posting-Date: 28 Feb 2001 18:32:43 GMT X-Newsreader: Gnus v5.7/Emacs 20.5 Xref: supernews.google.com comp.lang.ada:5339 Date: 2001-02-28T18:32:43+00:00 List-Id: Dr Adrian Wrigley writes: > type Big_T is array (1 .. Size) of Float; > > type Item_T is record > First : Float; > Item : Big_T; > Last : Float; > end record; Why do you want to use a record here? Looks like 100% array here. Also, if you use a clean abstraction to your data structure (private type), you can do all sorts of hacks behind the scene. If you could describe more precisely the data structure you're trying to mmap, perhaps comp.lang.ada readers could help a bit more. -- Laurent Guerby