[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native
From: |
Arun Giridhar |
Subject: |
[Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful |
Date: |
Mon, 27 Mar 2023 04:49:08 -0400 (EDT) |
Follow-up Comment #4, bug #63962 (project octave):
In the course of reviewing your patch, I realized that the existing perms.m
does not do unique properly for cell inputs. The workaround is to construct a
numerical index vector and pass that to perms, then use it to index into the
cell array. That should ideally be done by perms though, so that's a bug. I'll
file a separate report.
Would your code be able to accommodate unique for cells by doing that sort of
numerical index translation? If not, an alternative is to do that index
conversion in perms.m, pass it to the new perms.cc, and then translate the
result back in perms.m. Thoughts?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63962>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Arun Giridhar, 2023/03/26
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Arun Giridhar, 2023/03/26
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Hendrik K, 2023/03/26
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful,
Arun Giridhar <=
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Hendrik K, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Arun Giridhar, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Hendrik K, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Hendrik K, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Nicholas Jankowski, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Nicholas Jankowski, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Nicholas Jankowski, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Arun Giridhar, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Arun Giridhar, 2023/03/27
- [Octave-bug-tracker] [bug #63962] perms - Performance - Usage of native C++ algorithm helpful, Nicholas Jankowski, 2023/03/27