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

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

[Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file
Date: Thu, 16 Mar 2017 11:45:26 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #50561 (project octave):

It would probably also be slightly faster to use double *pepsval =
epsval.data(); and then pepsval[i] instead of using expsval(i) for indexing in
the assignment inside the loop.  Or to use epsval.xelem(i).  Either of those
avoids the check on the reference count.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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