Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Eli Zaretskii
> Date: Sat, 11 Feb 2023 21:40:58 +0100 > From: pertu...@free.fr > > For french, and I belive all the languages with accented letters that > should sort next to the non accented letter, for instance e and é, the > sort is much better with Unicode::Collate. But if the index entries actually don't

Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread pertusus
On Sat, Feb 11, 2023 at 08:30:07PM +, Gavin Smith wrote: > > > > How many manuals set documentlanguage? With the proliferation of > > documentencoding set to UTF-8, I think disabling the collation for > > "en" will be next to futile. > > If I understand correctly, until recently more standar

Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Gavin Smith
On Sat, Feb 11, 2023 at 10:02:55PM +0200, Eli Zaretskii wrote: > > From: Gavin Smith > > Date: Sat, 11 Feb 2023 19:46:12 + > > > > On Sat, Feb 11, 2023 at 08:04:15PM +0100, Patrice Dumas wrote: > > > Other than that I do not have much other idea than disabling it, for > > > instance if docume

Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Eli Zaretskii
> From: Gavin Smith > Date: Sat, 11 Feb 2023 19:46:12 + > > On Sat, Feb 11, 2023 at 08:04:15PM +0100, Patrice Dumas wrote: > > Other than that I do not have much other idea than disabling it, for > > instance if documentlanguage is en. The result with Unicode::Collate is > > better for accen

Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Gavin Smith
On Sat, Feb 11, 2023 at 08:04:15PM +0100, Patrice Dumas wrote: > On Sat, Feb 11, 2023 at 05:04:45PM +, Gavin Smith wrote: > > I found that texi2any was significantly slower than expected on a > > manual. > > > > I ran with Devel::NYTProf: > > > > TEXINFO_XS=require perl -d:NYTProf ../texi2any

Re: texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Patrice Dumas
On Sat, Feb 11, 2023 at 05:04:45PM +, Gavin Smith wrote: > I found that texi2any was significantly slower than expected on a > manual. > > I ran with Devel::NYTProf: > > TEXINFO_XS=require perl -d:NYTProf ../texi2any.pl > ../../../emacs-lispref-27.2/elisp.texi > > The flame graph output sho

texi2any is too slow because of Unicode::Collate

2023-02-11 Thread Gavin Smith
I found that texi2any was significantly slower than expected on a manual. I ran with Devel::NYTProf: TEXINFO_XS=require perl -d:NYTProf ../texi2any.pl ../../../emacs-lispref-27.2/elisp.texi The flame graph output shows that 75% of the execution time is spent in Texinfo::Convert::Info::format_pr