Browse thread
What kind of sort do Array.sort ?
-
artboreb@n...
-
Martin Jambon
-
artboreb@n...
- Erick Tryzelaar
-
artboreb@n...
-
Martin Jambon
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Erick Tryzelaar <erickt@d...> |
| Subject: | Re: [Caml-list] What kind of sort do Array.sort ? |
artboreb@netscape.net wrote: > Is fast_sort a quick-sort algorithm? According to the docs, Array.sort uses a heap sort, and Array.stable_sort uses a merge sort. Array.fast_sort uses either one or the other. http://caml.inria.fr/pub/docs/manual-ocaml/libref/Array.html -e