Making Paragraph::latex() thread safe?

Scott Kostyshak skostysh at lyx.org
Wed Aug 31 01:36:20 UTC 2022


On Tue, Aug 30, 2022 at 03:06:36PM +0200, Kornel Benko wrote:
> 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.

Thanks, that's good to know. I think I'll stay away from that for now since it seems tricky.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/c9b4aa64/attachment.asc>


More information about the lyx-devel mailing list