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: Sun, 26 Mar 2023 09:37:01 -0400 (EDT)

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

Right, I see that std::next_permutation does not generate repetitions, so it
won't spike memory usage:
https://en.cppreference.com/w/cpp/algorithm/next_permutation 

There's a note there that its behavior changes in C++20 (becomes a constexpr)
but that should not be a concern.

Post your code when ready.


    _______________________________________________________

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]