Article View: comp.sys.acorn.programmer
Article #14Re: Sorting algorithms
From: Bob Latham
Date: Sun, 08 Nov 2026 12:13
Date: Sun, 08 Nov 2026 12:13
28 lines
2156 bytes
2156 bytes
In article <5d34279617News04@avisoft.f9.co.uk>, Martin <News04@avisoft.f9.co.uk> wrote: > In article <5d34218484Paul@sprie.nl>, > Paul Sprangers <Paul@sprie.nl> wrote: > > In article <91421d345d.jmb@jmc.bruck.orange.fr>, > > Jean-Michel <jmc.bruck@orange.fr> wrote: > > > Nice,You have implemented your own routine in ASM > > No, I wrote the entire program in BASIC and then compiled it with > > !ABC. But of course, OS_HeapSort does the actual sorting. My > > routines just prepare the strings. Remember however that > > OS_HeapSort only sorts memory blocks, it won't do anything with > > arrays - as far as I remember. > The ArmSort module will happily sort one or more BASIC arrays (see > www.avisoft.f9.co.uk) ... but it does not cater for the Céline > problem without creating a duplicate array with the accent removed. Thanks everyone for you thoughts and ideas. My best code takes 6 seconds but it does handle the Céline problem and it looks like a major effort to improve it unfortunately. Sorry I've been slow to return I've had an unpleasant virus for a couple of days. Thanks. Bob.
Technical Details
Message-ID:
<5d3481da71bob@sick-of-spam.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<5d336712aebob@sick-of-spam.invalid> <5d340015eePaul@sprie.nl> <91421d345d.jmb@jmc.bruck.orange.fr> <5d34218484Paul@sprie.nl> <5d34279617News04@avisoft.f9.co.uk>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Latham <bob@sick-of-spam.invalid> Newsgroups: comp.sys.acorn.programmer Subject: Re: Sorting algorithms Date: Sun, 08 Nov 2026 12:13:58 +0000 (GMT) Organization: None Lines: 28 Message-ID: <5d3481da71bob@sick-of-spam.invalid> References: <5d336712aebob@sick-of-spam.invalid> <5d340015eePaul@sprie.nl> <91421d345d.jmb@jmc.bruck.orange.fr> <5d34218484Paul@sprie.nl> <5d34279617News04@avisoft.f9.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net FjZAr+jdBUwdz8GlPFtCLgg2dyIXwoM/G7oyuRU3jlYqG/BpSo X-Orig-Path: sick-of-spam.invalid!bob Cancel-Lock: sha1:CQxL6cIvfuqAXHzrX6nrnh2z5A0= sha256:d3B6rIaxIObvFOW0ffud8DNGvJeTZyo6+Nr4fnJIq+8= X-No-Archive: Yes User-Agent: NewsHound/v1.54