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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.19.8 with SMTP id m8mr105107613yhm.53.1427111800923; Mon, 23 Mar 2015 04:56:40 -0700 (PDT) X-Received: by 10.140.48.97 with SMTP id n88mr1350695qga.35.1427111800832; Mon, 23 Mar 2015 04:56:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!us.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!h3no4264588qgf.1!news-out.google.com!f74ni423qge.0!nntp.google.com!h3no4264584qgf.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 23 Mar 2015 04:56:40 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.160.219.200; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P NNTP-Posting-Host: 86.160.219.200 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: most efficient method of storing records held in array From: tonyg Injection-Date: Mon, 23 Mar 2015 11:56:40 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:25223 Date: 2015-03-23T04:56:40-07:00 List-Id: I have several fairly long arrays of records that I want to store to disk on a as needed basis, but I don't want to use a database. Especially after reading that comparison between database speed and persistant objects that was recently floated. I did look at the persistent objects library in the Dmitrys Kazakov components library but I'm finding it difficult to understand what is going on there despite the large amount of documentation. 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. What do you guys think?