Subject: bug#75342: [PATCH] Speed up asynchronous man page fontifying

From: Eli Zaretskii <[email-masked]>
Date: Sun, 05 Jan 2025 08:01:28 +0200

> From: Björn Bidar <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Sat, 04 Jan 2025 23:13:06 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Never block ui unless you can do avoid it.
> >
> > Except that this comes at a price here: the time until I can see the
> > full man page could be very long.  So this is not a back-and-white
> > situation.
> 
> Why is the price so high? The time to call man should be the same in
> both asynchronous and synchronous call.

I think Stefan explained that: we read the text in small chunks, and
each chunk we read requires non-trivial processing, see the filter
function.