|
| From: | Ceral Paquet |
| Subject: | [Octave-bug-tracker] [bug #48736] Multiplication is thrice as fast as division |
| Date: | Wed, 10 Aug 2016 22:47:50 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:2.1) Gecko/20100101 Goanna/20160701 PaleMoon/26.3.3 |
Follow-up Comment #5, bug #48736 (project octave):
The Octave in-place operators are faster.
>> tic; for i=1:50, x *= 1; end; mult_time = toc;
>> tic; for i=1:50, x /= 1; end; div_time = toc;
>> [mult_time div_time div_time/mult_time]
ans =
7.3420 27.5783 3.7562
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48736>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |