Source Programs of Quick Sort
Copyright (c) 1997 Akira Wada <a-wada@mars.dti.ne.jp>
- qsorta.c ..... tailor-made, comp & swap inline
- qsortb.c ..... compatible with stdlib.h, word-swap, no stability
- qsortc.c ..... compatible with stdlib.h (pointer-sort), stability, anti-degeneration
- qsortd.c ..... tailor-made (pointer-sort), stability, anti-degeneration
- qsortbase.h ..... header file for QSORTBASE
- qsortbs.txt ..... readme, explanation of algorithm etc
- qsortbm.txt ..... summary of a benchmark
- qsortbs.gif ..... flow chart of QSORTBASE
- qsortbc.c .... optimized in C from qsortb.c, updated on Oct. 31, 1998
- qsortv.c ..... optimized in C from qsortc.c, updated on Aug. 25, 1998
- qsortz.c ..... optimized for system library, updated on Dec. 9, 1998
The followings are for SPARC architecture
- qsortw.s ..... optimized in Asm from qsortv.c, updated on Aug. 25, 1998
- memcpy.s ..... improved
- strncmp.s .... improved
- randmn.s ..... unsigned long randmn (unsigned long n) : random number uniform on [0, (n-1)]
go to NEW_VERSION .. new version of 1 - 6 and 11, updated on Apr. 14, 1999
Please click for down-load, and
Use (free) and Evaluate !
Thank you !