Making Paragraph::latex() thread safe?
Kornel Benko
kornel at lyx.org
Tue Aug 30 13:06:36 UTC 2022
Am Tue, 30 Aug 2022 08:38:37 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:
> On Tue, Aug 30, 2022 at 01:20:08PM +0200, Kornel Benko wrote:
>
> > > The latex generation part is just neligible.
> >
> > The latex part may help in find algorithm though, where is is often called.
>
> Ah that might be a good use case. Is find limited more by LaTeX export or regex or
> something else? I could profile if we actually think we might consider parallelization
> over LaTeX export of paragraphs.
>
> Scott
Neither of them. The biggest limitation (IMO) is the analysing of tex-ouput
(splitOnKnownMacros()), but this is hard to parallelize.
Regex itself is fast.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/a60f6edd/attachment-0001.asc>
More information about the lyx-devel
mailing list