[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61912] Slow performance of complex()
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #61912] Slow performance of complex() |
Date: |
Tue, 25 Jan 2022 12:48:46 -0500 (EST) |
Follow-up Comment #5, bug #61912 (project octave):
So, the original test case was unfair to complex(). The code was
z = complex (0, val);
OR
z = i*val;
In the multiplication situation I wasn't creating a real part while complex
had to deal with that even though the value was 0. A proper comparison is
z = 0 + i*val;
Nevertheless, on my machine the vector has to be pretty big, ~5,500, before
complex is faster.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61912>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/24
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Dmitri A. Sergatskov, 2022/01/24
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Arun Giridhar, 2022/01/24
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/24
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/24
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(),
Rik <=
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/25
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), John W. Eaton, 2022/01/26
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Hg200, 2022/01/26
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Markus Mützel, 2022/01/26
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/26
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/26
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Rik, 2022/01/28
- [Octave-bug-tracker] [bug #61912] Slow performance of complex(), Markus Mützel, 2022/01/30