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

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

[Octave-bug-tracker] [bug #48239] Root property 'MonitorPositions' retur


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #48239] Root property 'MonitorPositions' returns 0s
Date: Fri, 17 Jun 2016 01:49:16 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #48239 (project octave):

Guillamue, the disadvantage with that approach is that it would make the
property handling "irregular", unless "MonitorPositions" is added as a new
property.

I think that one of the reasons that Octave's graphics is so painfully slow is
that too many objects have too many parameter.  Although they're normally left
at their default values, they still need to be allocated and copied and
deleted way too many times.

I think that there needs to be a rewrite of the graphics system that just
keeps a pointer to the default values of the suitable type, and has a small
list of non-default parameters for each particular object.

Once that is done, it will be cheap to add new properties.

This should be moot since this property is only valid for "root" (of which
there is only one), but I recall seeing somewhere that all objects store all
properties, with some simply being ignored depending on the type.  I hope I'm
mistaken :)

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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