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-Thread: 103376,2cb1f0b6d642e1dc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Pascal Calling Convention Date: Tue, 29 Mar 2011 14:22:46 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <9b04626e-567d-408c-aab3-39b964b3ffd6@l2g2000prg.googlegroups.com> <4d90efdd$1$14806$882e7ee2@usenet-news.net> <330393be-cb82-4cd8-ba44-6e59af7b75bf@v11g2000prb.googlegroups.com> <4d90fd41$1$14782$882e7ee2@usenet-news.net> <4d914bd4$0$14782$882e7ee2@usenet-news.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1301422969 7064 192.74.137.71 (29 Mar 2011 18:22:49 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 29 Mar 2011 18:22:49 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:xT32bQrJoZkFjFQyceG9gQRhjyI= Xref: g2news2.google.com comp.lang.ada:19549 Date: 2011-03-29T14:22:46-04:00 List-Id: Hyman Rosen writes: >...This is actually a question I asked when > I used this for interviews - when is this structure better than the > straightforward bit-per-member version? That's a pretty good interview question. Much better than the silly puzzles some folks use. Or the infamous "tell me your strengths and weaknesses". I saw this data structure in a compiler textbook, and it referenced the Briggs paper, which I have not read. It is indeed an interesting algorithm. Of course, as I'm sure you know, it's completely wrong in most higher-level languages, including Ada (in which the compiler is allowed to raise an exception), and C++ (in which the compiler is allowed to do anything at all). - Bob