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-03-06 18:22:11 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!grolier!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Message-ID: <3AA599BA.868AF738@linuxchip.demon.co.uk> From: Dr Adrian Wrigley X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.14-5.0smp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problems with large records (GNAT) [continued] References: <3A9CD67C.9B15C417@linuxchip.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 07 Mar 2001 02:15:22 +0000 NNTP-Posting-Host: 62.253.132.124 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 983931305 62.253.132.124 (Wed, 07 Mar 2001 02:15:05 GMT) NNTP-Posting-Date: Wed, 07 Mar 2001 02:15:05 GMT Organization: ntl Cablemodem News Service Xref: supernews.google.com comp.lang.ada:5488 Date: 2001-03-07T02:15:22+00:00 List-Id: I've just noticed... If I add the line "pragma Shared_Passive;" to my package, then objects declared in the package turn up on the local file system! This gives the persistent storage feature I wanted, since the values of the data are retained between program invocations. It doesn't solve the colocation of record elements problem. Unfortunately, the performance is worse than abyssmal (GNAT/GLADE/Intel etc.), and it can only write 300 bytes/sec (1GHz Athlon)! Another 100_000x in speed, and it would *almost* be a solution. Does anyone else use "Shared_Passive" for persistent storage? -- Adrian Wrigley