[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60928] Performance of sort unexpectedly slow
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60928] Performance of sort unexpectedly slow for DIM=2 |
Date: |
Sun, 18 Jul 2021 22:28:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Follow-up Comment #4, bug #60928 (project octave):
It will take some time to check, but I think you are on the right track. The
Octave project began a long, long time ago before many parts of C++ had been
firmed up. Relevant to this, Octave was coded before move constructors even
existed--everything was a copy constructor. My guess is that it would be
possible to improve this by figuring out how not to create new arrays which
involves a lot of memory allocation and copying of values.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60928>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/