On Sat, Jan 3, 2015 at 3:29 PM, Eli Zaretskii <e...@gnu.org> wrote: > As you see, wcwidth and locale_charset, both from gnulib in my build, > take 75% of the time. > > I thought that perhaps the reason was that your locale is UTF-8, so > Info doesn't need to convert text using libiconv in your locale. But > removing the UTF-8 encoding tag from the ELisp Info file didn't have > any visible effect on the delay, so that's not it. > > Suggestions for further digging into this are welcome.
One way to check would be to comment out the call to wcwidth, and replace with the value "1", and see if it is still slow. The calls to mb_isprint (from gnulib) could be slow as well, although they were there in the last release, I believe.