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,14bff0642983a2a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-28 16:47:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada References: <1059425531.850814@master.nyc.kbcfp.com> Subject: Re: sorting large numbers of large records X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Mon, 28 Jul 2003 23:47:39 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1059436059 65.110.133.134 (Mon, 28 Jul 2003 16:47:39 PDT) NNTP-Posting-Date: Mon, 28 Jul 2003 16:47:39 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:40915 Date: 2003-07-28T23:47:39+00:00 List-Id: "Hyman Rosen" wrote in message news:1059425531.850814@master.nyc.kbcfp.com... > John R. Strohm wrote: > > Incidentally, depending on your system, it might be to your advantage to > > maintain TWO datafiles: one big one that is sorted, and one little one that > > isn't, but contains things that have been modified recently. > > If he reaches this point, the OP might just want to > move to a real database, where problems like this > havel already been dealt with. > The indexed i/o components I wrote will probably meet his needs. I'm not sure he really needs a full-blown database. http://www.adapower.com/reuse/indexed_io.html See also the Charles library for internal sorting methods: http://home.earthlink.net/~matthewjheaney/charles -Matt