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

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

[Octave-bug-tracker] [bug #58564] classdef instance field access painful


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #58564] classdef instance field access painfully slow vs. struct field access
Date: Mon, 15 Jun 2020 20:27:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0

Follow-up Comment #4, bug #58564 (project octave):

I did a Whole Thing on this Matlab OOP performance stuff a while back. Check
it out: https://stackoverflow.com/a/1745686/105904.

Short answer: In Matlab, classdef property access used to be way slower than
struct field access, but in recent versions, it's just as fast (as long as you
don't define a getter method).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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