[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58445] significant slow down in stable versio
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles |
Date: |
Tue, 26 May 2020 17:00:00 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #7, bug #58445 (project octave):
@Philip: Wow, you found that old thread. I only had a vague memory that this
had been discussed before.
@jwe: cacheing seems like a good solution. Also, it is one of my pet peeves
that arrayfun() was programmed to parse its arguments and then hand off
execution to cellfun(). This results in a big slowdown because, for
arrayfun(), the function and the datatype are known upfront. There is only
one signature that is ever needed, but by delegating to cellfun the code has
to assume that the data type might change for every value through the loop.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58445>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58445] significant slow down in dev version for certain cellfun invocations, A.R. Burgers, 2020/05/25
- [Octave-bug-tracker] [bug #58445] significant slow down in dev version for certain cellfun invocations, Rik, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Rik, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Rik, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, John W. Eaton, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Rik, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, John W. Eaton, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Philip Nienhuis, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles,
Rik <=
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Philip Nienhuis, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, Rik, 2020/05/26
- [Octave-bug-tracker] [bug #58445] significant slow down in stable version for cellfun invocations which use function handles, John W. Eaton, 2020/05/27