[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: |
Sun, 28 Jan 2024 21:25:38 +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 not unicode collation, the index sorting could be done in C, and my
guess is that the impact would be important.
> Patrice, is this the correct way to add a customization variable (as
> I am not familiar with the new Texinfo/options_data.txt file).
Yes, it looks good. As a side note, shouldn't the variable name rather
be USE_UNICODE_COLLATION?
--
Pat