[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59679] Overhead in calling function handles
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #59679] Overhead in calling function handles |
Date: |
Tue, 15 Dec 2020 00:36:09 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2 |
Follow-up Comment #4, bug #59679 (project octave):
Oops , sorry! I made a mistake!
feval correctly executes the 'call' method of the m_fcn member of the function
handle so my previous comments are invalid. But I attached a patch
(bug59679.patch) that improves calling function handles by feval. For example
when calling feval this way:
s=@sum;
out = feval (s,[1,2,3]);
(file #50467)
_______________________________________________________
Additional Item Attachment:
File name: bug59679.patch Size:0 KB
<https://file.savannah.gnu.org/file/bug59679.patch?file_id=50467>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59679>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/