comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: most efficient method of storing records held in array
Date: Mon, 23 Mar 2015 08:34:27 -0700
Date: 2015-03-23T08:34:27-07:00	[thread overview]
Message-ID: <mepboh$idl$2@dont-email.me> (raw)
In-Reply-To: <f521b285-1afd-4509-960f-e71be9d3ae19@googlegroups.com>

On 03/23/2015 04:56 AM, tonyg wrote:
> 
> 
> Are there any other examples out there using this library? I was thinking of
> a generic library using direct io to save on the index whenever the values
> are changed.

I think efficiency is a poor reason to avoid a simple solution, at least until
you have tried it and found it doesn't meet your timing requirements.

However, it sounds as if, for your case, the simplest solution might be to hide
the array in a package and provide Put and Get operations, with Put writing the
new value to disk using Ada.Direct_IO.

-- 
Jeff Carter
"What's the amount of the insult?"
Never Give a Sucker an Even Break
104

  reply	other threads:[~2015-03-23 15:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 11:56 most efficient method of storing records held in array tonyg
2015-03-23 15:34 ` Jeffrey Carter [this message]
2015-03-23 17:35 ` Dmitry A. Kazakov
2015-03-26 11:05 ` tonyg
replies disabled

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