|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #59702] Octave 6 slower then Octave 5 ? |
Date: | Wed, 16 Dec 2020 13:01:25 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.60 |
Follow-up Comment #5, bug #59702 (project octave): When I run the same code in Octave 5.2 and Octave 6.1, `setlocale` is called 24 times in Octave 5.2 vs. 66 times in Octave 6.1. That difference is probably the main reason for the performance difference between the two versions. But instead of trying to reduce the number of times we use the `>>` operator (which I think is the reason for the slow code path), it might be worth considering replacing it by a more performant implementation altogether. Would it be okay if we added a dependency on Google's double-conversion library? https://github.com/google/double-conversion _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59702> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |