comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent Guerby <guerby@acm.org>
Subject: Re: Problems with large records (GNAT) [continued]
Date: 28 Feb 2001 19:35:47 +0100
Date: 2001-02-28T18:32:43+00:00	[thread overview]
Message-ID: <86lmqq8xks.fsf@acm.org> (raw)
In-Reply-To: 3A9CD67C.9B15C417@linuxchip.demon.co.uk

Dr Adrian Wrigley <amtw@linuxchip.demon.co.uk> 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 <guerby@acm.org>



  parent reply	other threads:[~2001-02-28 18:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-28 10:44 Problems with large records (GNAT) [continued] Dr Adrian Wrigley
2001-02-28  3:13 ` Robert A Duff
2001-02-28 12:09   ` Dr Adrian Wrigley
2001-02-28  9:51     ` Florian Weimer
2001-02-28 18:35 ` Laurent Guerby [this message]
2001-03-01  8:17   ` Dr Adrian Wrigley
2001-03-01  1:58     ` Robert A Duff
2001-03-01 22:18       ` Dr Adrian Wrigley
2001-03-01 17:02         ` Robert A Duff
2001-03-01  7:00     ` tmoran
2001-03-01 21:52       ` Dr Adrian Wrigley
2001-03-01 19:32         ` tmoran
2001-03-01 19:38     ` Laurent Guerby
2001-03-02 20:32 ` Randy Brukardt
2001-03-07  2:15 ` Dr Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox