From: "Matthew Heaney" <mheaney@on2.com>
Subject: Re: Ada Components - GRACE Lists (Sorting them)
Date: Fri, 1 Mar 2002 19:09:11 -0500
Date: 2002-03-01T19:09:11-05:00 [thread overview]
Message-ID: <u805n3q3m2e5e5@corp.supernews.com> (raw)
In-Reply-To: 4519e058.0202260859.4ecde69f@posting.google.com
"Ted Dennison" <dennison@telepath.com> wrote in message
news:4519e058.0202260859.4ecde69f@posting.google.com...
> When I do finally manage to find a suitable forum to publish the
> implmentation I have, we should certianly encourage folks to play with
> the algorithm, modify it, analayze the results, and report their
> findings for discussion. But again, I don't think we should waste a
> huge amount of effort on it, because this isn't the sort that will
> really matter. That one will be in the "Maps" package, and will
> probably have to be some kind of tree-based sort.
In the Charles data structure and algorithm library, I included a quicksort
to sort arrays (using the median-of-3 technique), and another to do a stable
sort of a list. I haven't tried to do any other optimizations or anything.
http://home.earthlink.net/~matthewjheaney/charles/charles-generic_quicksort_
_ads.htm
http://home.earthlink.net/~matthewjheaney/charles/charles-unbounded_lists-ge
neric_quicksort__ads.htm
http://home.earthlink.net/~matthewjheaney/charles/
http://home.earthlink.net/~matthewjheaney/charles-20020228.zip
http://home.earthlink.net/~matthewjheaney/
Note that in Charles, the map and set types are implemented using a
red-black tree, so they're already sorted.
next prev parent reply other threads:[~2002-03-02 0:09 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 15:47 Ada Components - GRACE Lists Marin David Condic
2002-02-12 2:52 ` Pat Rogers
2002-02-12 4:33 ` Eric Merritt
2002-02-12 15:30 ` Pat Rogers
2002-02-12 18:00 ` Marin David Condic
2002-02-13 4:17 ` Eric Merritt
2002-02-13 15:39 ` Pat Rogers
2002-02-14 1:31 ` Jeffrey Carter
2002-02-14 14:27 ` Marin David Condic
2002-02-14 0:32 ` Nick Roberts
2002-02-23 1:26 ` Ted Dennison
2002-02-23 16:41 ` Nick Roberts
2002-02-25 15:42 ` Ted Dennison
2002-02-26 1:05 ` Nick Roberts
2002-02-23 17:07 ` Richard Riehle
2002-02-25 13:04 ` Ted Dennison
2002-02-25 13:38 ` Marin David Condic
2002-02-26 0:57 ` Matthew Heaney
2002-02-26 11:52 ` Ada Components - GRACE Lists (Sorting them) Chad R. Meiners
2002-02-26 15:02 ` Thomas Wolf
2002-02-26 16:59 ` Ted Dennison
2002-02-26 17:20 ` Darren New
2002-02-26 21:46 ` Ted Dennison
2002-03-02 0:09 ` Matthew Heaney [this message]
2002-03-05 19:55 ` gnat-3.14p, libaddr2line and IRIX 6.5 Dirk Baerts
2002-03-05 22:04 ` David C. Hoos
2002-03-06 16:44 ` Stephen Leake
2002-03-06 19:55 ` Dirk Baerts
[not found] ` <055101c1c491$c5002e70$453ab4d8@sy.com>
2002-03-06 19:12 ` gnat-3.14p, libaddr2line and IRIX 6.5 : solved ! Dirk Baerts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox