Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6732
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Paul Sprangers <Paul@sprie.nl> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Sorting algorithms |
| Date | Wed, 11 Nov 2026 19:25:34 +0100 (Custom) |
| Organization | None |
| Lines | 27 |
| Message-ID | <5d362f6206Paul@sprie.nl> (permalink) |
| References | <5d336712aebob@sick-of-spam.invalid> <5d3622ac84Paul@sprie.nl> <5d3628e1b7News04@avisoft.f9.co.uk> |
| Injection-Date | Wed, 11 Nov 2026 18:25:47 +0000 (UTC) |
| Injection-Info | dont-email.me; logging-data="3457363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kWMwL2I0vfd+qWukqCb8RGA5teZSfDD0="; posting-host="e144510d219e3c252735c723c065e6c7" |
| User-Agent | Pluto/3.20 (RISC OS/5.31) NewsHound/v1.54 |
| Cancel-Lock | sha1:S/5xcHHqjCIrFyCsy0QP2ph7CnM= sha256:EplhmfD2zbOglXBLtx6NiuRVpUZ6BXwoGezTJRw5Dm4= sha1:bgLDuR28fFfJhbrEJrz3XEelaQ0= sha256:d50IODjhqhEZynIRaVL1xmXgLY+I/l6uLj6IBgUatHI= |
| Xref | csiph.com comp.sys.acorn.programmer:6732 |
Show key headers only | View raw
In article <5d3628e1b7News04@avisoft.f9.co.uk>, Martin <News04@avisoft.f9.co.uk> wrote: > As a specific example, it works but does have some limitations. > The most obvious one is that any characters not included in FNcase are > omitted from the sort key completely (eg blank or hyphen). You're right, Martin. But it is deliberate indeed. I should have mentioned that the program sorts lines *alphabetically*, reason why it omits characters like spaces, hyphens, dots, colons etc. completely. I also left out ArmSort, because I wanted to show code that does it all by its self. > I suspect however that as FNcase tests each character 29 times, it could > be optimised. Absolutely. My database program sorts the same 6000 lines in a fraction of a second, font painting the result on screen included. But hm... I should wade through the rivers of code for finding out how I did that. And even then I'm afraid that I would no longer understand it. Oh youth, thou treacherous promise! Paul -- https://riscos.sprie.nl
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sorting algorithms Bob Latham <bob@sick-of-spam.invalid> - 2026-11-06 08:45 +0000
Re: Sorting algorithms Jean-Michel <jmc.bruck@orange.fr> - 2026-11-06 17:30 +0100
Re: Sorting algorithms Bob Latham <bob@sick-of-spam.invalid> - 2026-11-06 17:57 +0000
Re: Sorting algorithms Jean-Michel <jmc.bruck@orange.fr> - 2026-11-06 20:28 +0100
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-07 13:36 +0100
Re: Sorting algorithms Jean-Michel <jmc.bruck@orange.fr> - 2026-11-07 18:55 +0100
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-07 19:41 +0100
Re: Sorting algorithms Martin <News04@avisoft.f9.co.uk> - 2026-11-07 19:48 +0000
Re: Sorting algorithms Bob Latham <bob@sick-of-spam.invalid> - 2026-11-08 12:13 +0000
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-11 17:06 +0100
Re: Sorting algorithms Martin <News04@avisoft.f9.co.uk> - 2026-11-11 17:14 +0000
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-11 19:25 +0100
Re: Sorting algorithms Sebastian Barthel <naitsabes@freenet.de> - 2026-11-16 18:31 +0000
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-16 20:15 +0100
Re: Sorting algorithms Bob Latham <bob@sick-of-spam.invalid> - 2026-11-17 09:11 +0000
Re: Sorting algorithms Martin <News04@avisoft.f9.co.uk> - 2026-11-16 19:17 +0000
Re: Sorting algorithms Jean-Michel <jmc.bruck@orange.fr> - 2026-11-11 20:36 +0100
Re: Sorting algorithms Paul Sprangers <Paul@sprie.nl> - 2026-11-11 22:55 +0100
csiph-web