bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customization variable to disable Unicode collation?


From: Patrice Dumas
Subject: Re: Customization variable to disable Unicode collation?
Date: Wed, 31 Jan 2024 10:38:36 +0100

On Sun, Jan 28, 2024 at 08:15:33PM +0000, Gavin Smith wrote:
> Below is a patch to introduce a new variable to avoid using the
> Unicode::Collate module.  Turning the module off shortens run times by
> about 5% (depending on the size of indices in the document).
> 
> Users can use this if they don't find texi2any fast enough, if they
> don't care about having the indices sorted correctly, if they don't
> have many non-ASCII characters in index entry text, or just for working
> on a manual.
> 
> I propose that USE_UNICODE_COLLATE is on by default, as is currently
> the case, to have correct index sorting by default, as the impact is
> relatively small.

With collation also possible with XS/C, but with a different result than
in perl, I think that there should be a way to use perl unicode
collation from C too, in addition to using a unicode collation or not.

Should it be a separate customization variable, or should
USE_UNICODE_COLLATION be replaced by a variable with a textual value
taking more possibilities, for example USE_COLLATION with possible
values:
unicode
unicodeperl
basic

?

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]