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

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

[Octave-bug-tracker] [bug #57464] patch plot of quadrilateral ill shaped


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57464] patch plot of quadrilateral ill shaped
Date: Tue, 24 Dec 2019 05:42:39 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #12, bug #57464 (project octave):

All update functions are executed immediately after a graphics property is
set. So even when setting the "xdata", "ydata" and "zdata" in a single "set"
command, the update functions for each property are executed one after the
other.
I assume that the "2d-mode" is executed when "xdata" and "ydata" are already
set but "zdata" isn't yet.
Maybe the fact that we don't defer some callbacks until after all properties
are set is partly causing the slow performance.

Also most probably, it would be sufficient to only execute part of update_data
after setting "[xyz]data". But I fear that the coplanarity test is probably
the computationally most expensive one.
However, I haven't looked into that yet. Also I probably won't be able to for
the next week or two.

I understand that trying to follow the chain of callbacks in graphics.cc can
be confusing. But any help to improve that code (especially performance
related) is always welcome.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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