octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66012] printing to the pdflatex device is slo


From: Rik
Subject: [Octave-bug-tracker] [bug #66012] printing to the pdflatex device is slow
Date: Thu, 25 Jul 2024 11:42:52 -0400 (EDT)

Follow-up Comment #12, bug #66012 (group octave):

@Pantxo: I think your question is the correct one.  This isn't an issue about
working or not working, it is an engineering tradeoff about whether the reward
(shorter print execution times) are worth the pain of coding some special
cases.  I don't know the code well enough to make that decision.

I would note that rendering the Z-ticks for 2-D scenes really feels like a
waste of effort.  There are 3 axes (X, Y, Z) and for a 2-D scene the Z-axis is
irrelevant which means 1/3rd of the processing time is unnecessary.  As an
example,


plot (1:10)
tic; print ('-dpdflatex', 'tst1'); toc
zticks (linspace (-1, 1, 25));
tic; print ('-dpdflatex', 'tst2'); toc
Elapsed time is 4.21351 seconds.
Elapsed time is 8.65439 seconds.


It feels like that could be clipped by checking is2D boolean.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66012>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]