Email list hosting service & mailing list manager

ASCII string comparison Lassi Kortela (23 Sep 2019 18:30 UTC)
Re: ASCII string comparison John Cowan (24 Sep 2019 01:38 UTC)
Re: ASCII string comparison Lassi Kortela (24 Sep 2019 19:56 UTC)
Re: ASCII string comparison John Cowan (24 Sep 2019 20:01 UTC)
Re: ASCII string comparison Lassi Kortela (24 Sep 2019 20:07 UTC)
Do string ports need to be closed? Lassi Kortela (26 Sep 2019 15:26 UTC)
Re: Do string ports need to be closed? John Cowan (26 Sep 2019 15:47 UTC)

Re: ASCII string comparison Lassi Kortela 24 Sep 2019 19:56 UTC

>> Does anybody need to sort ASCII-case-folded strings?
>>
>> * ascii-ci<?
>> * ascii-string-ci<?

> Sure.  The advantage of them is that they can be done by arithmetic without
> a lookup table, and thus presumably faster.

Can you list which case-insensitive procedures would be useful? Is <
enough or are <= and > and >= and = useful for something as well?

What about case-sensitive comparison procedures - is it enough to have
the Unicode ones? ASCII ones would normally give the same results as the
Unicode-aware ones, but are there some Unicode gotchas that would be
avoided by the simple ASCII versions?