> From: Gavin Smith <[email protected]> > Date: Sun, 22 Oct 2023 19:35:11 +0100 > Cc: [email protected] > > One thing to try would to eliminate dTHX calls. If these are > time-consuming on MinGW/MS-Windows, then extra calls will greatly slow > down the program, due to the number of times the paragraph formatting > functions are called. > > This patch, applied to 7.1, removes the recently added dTHX calls, > but also removes the fprintf calls that were preventing compilation > without it:
It doesn't help: 1:20.7 instead of 1:21.2. > I have looked for other differences in xspara.c between Texinfo 7.0.3 > and Texinfo 7.1 and cannot really see anything suspicious. XSParagraph inscludes other source files in addition to xspara.c -- could the changes in those other files be the cause? > The only other thing that comes to mind that there could have been a > change in imported gnulib modules. > > Failing that, the only I idea I have is to use some kind of source-level > profiler to find out why so much time is spent in this module. Hmm...
