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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac39a12d5faf5b14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-29 17:59:01 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!btnet-peer!btnet-peer0!btnet!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Grace and Maps (was Re: Development process in the Ada community) Date: Mon, 29 Apr 2002 11:26:51 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3CB46975.90408@snafu.de> <3CBAFFEE.2080708@snafu.de> <4519e058.0204171036.6f0a7394@posting.google.com> <3CBDD795.4060706@snafu.de> <4519e058.0204180800.44fac012@posting.google.com> <3CBF0341.8020406@mail.com> <4519e058.0204190529.559a47ae@posting.google.com> <3CC1C6B3.6060306@telepath.com> <3CC21747.5000501@telepath.com> <3CC59ED2.1000803@home.com> <3CC5B286.6FE61551@san.rr.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1020094012 7334 136.170.200.133 (29 Apr 2002 15:26:52 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 29 Apr 2002 15:26:52 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:23250 Date: 2002-04-29T15:26:52+00:00 List-Id: I can't speak for what everyone else means by a map - I mean something where I store and look up data based on a key. An ISAM file being a typical example. I want to say "Put (Some_Social_Security_Number, Some_Student_Record) ;" and "Get (This_SSN, The_Student_Record);" If that constitutes "sparse data" then I guess that's fine. If you had "Get" and "Put" and iterators and similar operations, those could be common without respect to the actual implementation or storage mechanism. But I think if the intention was to support some disk file with possibly millions of records in it, then you would likely need a bunch of operations that would make little to no sense for an in-memory, dynamically allocated, linked structure. Hence, I'd opt to be as similar as possible, but not make that a slavish goal. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Larry Kilgallen" wrote in message news:tW4Tz4KHL8Bt@eisner.encompasserve.org... > > access to sparse data (which is my understanding of what you folks > mean by "maps") should be the same from the client programmer view > regardless of whether the data is in memory or on disk.