bug-texinfo
[Top][All Lists]
Advanced

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

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


From: pertusus
Subject: Re: texi2any is too slow because of Unicode::Collate
Date: Sun, 12 Feb 2023 12:04:16 +0100

On Sun, Feb 12, 2023 at 09:47:10AM +0000, Gavin Smith wrote:
> 
> With TEXINFO_XS=omit, it now takes 52 seconds.  I tested Texinfo
> 7.0.2 and it only took 42 seconds.
> 
> (I thought this was still longer than I remembered, so tested
> with Texinfo 6.8, where it came out 23 seconds without XS modules.
> This appears to be a major performance regression which I will need to
> investigate, although it is unrelated to the Unicode::Collate issue.)

If you are comparing with the devel version it may simply be because I
recently disabled the XS versions overrides of _merge_text and
_abort_empty_line because they need significant changes for the source
marks.  I do not think that we should do it, nor that we should take
time to optimize the perl parser, it is only there to ease development,
and even for this purpose it becomes less relevant as times goes by.

-- 
Pat



reply via email to

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