Slimelite BBS

Sort code

Back to MUSIC_CONTACTS

From Robert Dale · 1996-04-06 20:26 · #77908 in MUSIC_CONTACTS

Hi Slinkey,

In a message dated 02-Apr-96 01:30:02, Slinkey wrote:

 S> Anyone know any good, fast sort routines? I currently use this type (1 of
 S> only two ways I know) ...

It's cheating, but the fastest way I've found on anything of any size is to use the amigados sort command and read it back in. If you use readch() and writech() with large parameters it's possible to write out, sort and then re-read a couple of hundred lines in a second or so..

    _.------------------------------.------------.------------------._
 __/// robdale@darkside.demon.co.uk : Team AMIGA : Xeno Development \\\__
 \XX/`------------------------------^------------^------------------'\XX/

--- Xenolink 1.985B6(UKRD), XEmacs 1.2
 * Origin: You can do *anything* in Arexx! (2:254/524)