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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-11 09:28:50 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BEEB54F.4241F4CF@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 References: <3BECA3B7.5020702@telepath.com> <87668ivpw8.fsf@deneb.enyo.de> <87d72qfrtd.fsf@deneb.enyo.de> <3BEDA5A1.B42EF7B7@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 11 Nov 2001 17:28:47 GMT NNTP-Posting-Host: 209.86.209.62 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1005499727 209.86.209.62 (Sun, 11 Nov 2001 09:28:47 PST) NNTP-Posting-Date: Sun, 11 Nov 2001 09:28:47 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Sun, 11 Nov 2001 09:24:46 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:16281 Date: 2001-11-11T17:28:47+00:00 List-Id: Jeffrey Carter wrote: > > Merge sort seems to be the best sort for a list. Although it's O(N) in > space, that extra space already exists in a list as the pointers between > nodes, so it becomes O(N) in space. Merge sort is always O(N log N) in > time. Typo alert! That should read "it becomes O(1) in space." My fingers apologize for any confusion. -- Jeff Carter "I blow my nose on you." Monty Python & the Holy Grail