[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slo
From: |
Juan Pablo Carbajal |
Subject: |
[Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix |
Date: |
Thu, 13 Apr 2017 10:14:23 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 |
Follow-up Comment #1, bug #50796 (project octave):
The attached script produces (using function speed)
> find_timeit
Order, time per operation (ones)
Full: 1.7, 3.2e-08
Diag: 2.1, 1.4e-09
Opt: 0.28, 2.4e-06
Order, time per operation (bool)
Full: -0.0084, 1.4e-05
Diag: 0.056, 8.6e-06
Opt: 0.4, 9.8e-07
So it seems the problem is with doubles, as booleans are close to the optimal.
I am puzzled by the negative order of the boolean full case.
(file #40391)
_______________________________________________________
Additional Item Attachment:
File name: find_timeit.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50796>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Carnë Draug, 2017/04/13
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix,
Juan Pablo Carbajal <=
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Carnë Draug, 2017/04/15
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Rik, 2017/04/26
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Juan Pablo Carbajal, 2017/04/26
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Rik, 2017/04/26
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Juan Pablo Carbajal, 2017/04/26
- [Octave-bug-tracker] [bug #50796] calling find on diagonal matrix is slower than full matrix, Marco Caliari, 2017/04/27