[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: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file |
Date: |
Thu, 16 Mar 2017 12:03:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #50561 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
>From earlier benchmarking, switching to using a pointer from data() will get
about 10% improvement. However, it is also less understandable code so I
generally only made that change in liboctave.
However, I did check in an additional cset here which cleans up the eps
implementation. As long as we are using abs() which works for complex or real
entries, there is no longer any need to call the C++ function fabs(). It
didn't really save much in execution time, but it is more tidy. See
http://hg.savannah.gnu.org/hgweb/octave/rev/7a06a1a5a12b.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50561>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Rik, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Rik, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, John W. Eaton, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file,
Rik <=
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Dan Sebald, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Dan Sebald, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Rik, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Dan Sebald, 2017/03/16
- [Octave-bug-tracker] [bug #50561] 350X slower code for eps() written in C++ rather than an m-file, Rik, 2017/03/16