|
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 16:49:39 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #8, bug #50561 (project octave): All of the efficiency gains were due to removing the per-loop assignment of epsval to retval. That was the change that was pushed. After the cset was pushed, I tried a number of other optimizations but nothing made any recognizable change in execution times. One can't return epsval because it is not of the polymorphic type octave_value which is the return type for all user-facing C++ functions. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50561> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |