Article View: comp.sys.acorn.programmer
Article #28Re: Sorting algorithms
From: Martin
Date: Thu, 26 Nov 2026 23:16
Date: Thu, 26 Nov 2026 23:16
34 lines
2727 bytes
2727 bytes
In article <7d8cff3d5d.harriet@bazleyfamily.co.uk>, Harriet Bazley <harriet@bazleyfamily.co.uk> wrote: > On 26 Nov 2026 as I do recall, > Jean-Michel wrote: > > In message <5d3d73e064bob@sick-of-spam.invalid> > > Bob Latham <bob@sick-of-spam.invalid> wrote: > > > > > In article <163f6e3d5d.Matthew@sinenomine.co.uk>, > > > Matthew Phillips <spam2011m@yahoo.co.uk> wrote: > > > > >> You might like to consider the SWI Territory_Collate which has > > >> options to ignore both case and accents. > > > > > That's interesting, thanks for that. > > > > Yes, but don't forget Cรฉline is Canadian/French... [Snip] > $(block%+items%*16)=name$+CHR$(0) That illustrates one of the problems with using Territory_Collate - it needs zero terminated strings, but BASIC strings are cr terminated, or have a length and no terminator. So each string needs a zero adding before the collate - probably requiring a copy of the string, and removing the null afterwards. For small numbers of strings that is not a problem, but with thousands of strings it will be an overhead of both time and memory. -- Martin Avison Note that unfortunately this email address will become invalid without notice if (when) any spam is received.
Technical Details
Message-ID:
<5d3e039348News04@avisoft.f9.co.uk>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<5d336712aebob@sick-of-spam.invalid> <5d3622ac84Paul@sprie.nl> <5d3628e1b7News04@avisoft.f9.co.uk> <5d362f6206Paul@sprie.nl> <11dfi5o$1l3bi$1@solani.org> <5d38c72b71Paul@sprie.nl> <5d3913ac38bob@sick-of-spam.invalid> <163f6e3d5d.Matthew@sinenomine.co.uk> <5d3d73e064bob@sick-of-spam.invalid> <40bfc43d5d.jmb@jmc.bruck.orange.fr> <7d8cff3d5d.harriet@bazleyfamily.co.uk>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Martin <News04@avisoft.f9.co.uk> Newsgroups: comp.sys.acorn.programmer Subject: Re: Sorting algorithms Date: Thu, 26 Nov 2026 23:16:42 +0000 (GMT) Organization: None Lines: 34 Message-ID: <5d3e039348News04@avisoft.f9.co.uk> References: <5d336712aebob@sick-of-spam.invalid> <5d3622ac84Paul@sprie.nl> <5d3628e1b7News04@avisoft.f9.co.uk> <5d362f6206Paul@sprie.nl> <11dfi5o$1l3bi$1@solani.org> <5d38c72b71Paul@sprie.nl> <5d3913ac38bob@sick-of-spam.invalid> <163f6e3d5d.Matthew@sinenomine.co.uk> <5d3d73e064bob@sick-of-spam.invalid> <40bfc43d5d.jmb@jmc.bruck.orange.fr> <7d8cff3d5d.harriet@bazleyfamily.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 26 Nov 2026 23:16:58 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1220862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yWQ8q6tQLiQm04/ca+uKX"; posting-host="c60d2fd1c965f82e13bbcdebb8aea8f3" User-Agent: Pluto/3.21a (RISC OS/5.31) NewsHound/v1.54 Cancel-Lock: sha1:RgVwbDXJbrL1T7EzBdoQKWMce5s= sha256:TG7qop4tUZxhCqa3YiJF0J0bhm+MYlbexPKQ/1DNxgo= sha1:8tPsPIWFbtBEt57a+5tKTkce+1s= sha256:Y/ThKpEmw1N8g1ysvBsUBs8CUoagvGlgNmrmaNhVpe0=