[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 22:14:29 +0100 |
On Sun, Jan 28, 2024 at 08:52:02PM +0000, Gavin Smith wrote:
> On Sun, Jan 28, 2024 at 09:25:38PM +0100, Patrice Dumas wrote:
> > 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.
>
> It might be - would I be right in saying that this code isn't written?
You are right.
--
Pat