[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38628] bsxfun slow for complex
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #38628] bsxfun slow for complex |
Date: |
Thu, 22 Mar 2018 14:28:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #9, bug #38628 (project octave):
I just reviewed and updated bsxfun for a failure to operate on float complex
values (http://hg.savannah.gnu.org/hgweb/octave/rev/bff4a7c7bc39).
I think we should, in the future, try to get rid of the duplicate code paths
and simply forward calls to bsxfun on to the code used for broadcasting.
>From what I could determine, the issue seems to be that Octave calls
complex_array_value() for every single element of the array. This is slower
than calling complex_array_value() once on the array, and then operating on
each of the elements.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38628>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #38628] bsxfun slow for complex,
Rik <=