octave-bug-tracker
[Top][All Lists]
Advanced

[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: Tue, 28 Mar 2023 13:46:28 -0400 (EDT)

Follow-up Comment #21, bug #63962 (project octave):

@jwe: What you say makes sense. I had been looking for a way to avoid the long
list of string comparisons to call the functions of the appropriate type, but
only finding, say, isinteger() and not isint32(), I didn't press it too much.
It didn't occur to me to augment the octave_value class and Array class
themselves, which would provide the required polymorphism for free.

I'd already pushed the patch before your comment, so let's treat the move from
libinterp/corefcn to liboctave/array as a new project, along with the other
DEFUNs you have in mind.

Btw, what's the reason for wanting to minimize the heavy lifting within
DEFUNs?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63962>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]