mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-16 18:50:23 +02:00
Fixes in comments
This commit is contained in:
parent
1cfda2d332
commit
15d9c4e306
1 changed files with 6 additions and 3 deletions
|
@ -42,11 +42,11 @@
|
|||
* This implements the same sort interface as slib/sort.scm
|
||||
* for lists and vectors where slib defines:
|
||||
* sorted?, merge, merge!, sort, sort!
|
||||
* For scsh compatibility are also sort-list and sort-list! defined.
|
||||
* For scsh compatibility sort-list and sort-list! are also defined.
|
||||
* In cases where a stable-sort is required use stable-sort or
|
||||
* stable-sort!. As additional feature is
|
||||
* stable-sort!. An additional feature is
|
||||
* (restricted-vector-sort! vector less? startpos endpos)
|
||||
* added, where startpos and endpos allows you to sort part of a vector.
|
||||
* which allows you to sort part of a vector.
|
||||
* Thanks to Aubrey Jaffer for the slib/sort.scm library.
|
||||
* Thanks to Richard A. O'Keefe (based on Prolog code by D.H.D.Warren)
|
||||
* for the merge sort inspiration.
|
||||
|
@ -92,6 +92,9 @@ char *alloca ();
|
|||
The reason to do this instead of using the library function qsort
|
||||
was to avoid dependency of the ANSI-C extensions for local functions
|
||||
and also to avoid obscure pool based solutions.
|
||||
|
||||
This sorting routine is not much more efficient than the stable
|
||||
version but doesn't consume extra memory.
|
||||
*/
|
||||
|
||||
/* Byte-wise swap two items of size SIZE. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue