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

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

[Octave-bug-tracker] [bug #47052] Plotting many lines on a graph is slow


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #47052] Plotting many lines on a graph is slow
Date: Sat, 20 Feb 2016 09:01:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #8, bug #47052 (project octave):

I'm currently in the process of writing __next_line_style__ in C++, and that
will also require __pltopt__ to be translated to C++.

Since this is becoming rather a large patch, and Rik was flagging a major
rewrite, I'm not sure if I should go ahead. My current patch meets my needs.

If there is to be a major rewrite, some of the things I would suggest are:

- Each class like 'line' could have static defaults, with only those that are
overridden being initialized for each object.

- It may be faster to have named constants instead of strings for many of the
properties.  It would be just as slow when accessed from .m files, but faster
from C++.

- It may help to avoid rendering partial figures until they are fully drawn.

- Primitives like __next_line_style__, line and patch should probably be in
C++.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47052>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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