|
From: | Michael Leitner |
Subject: | [Octave-bug-tracker] [bug #61300] primes() is 4 times slower for integer types than for double, patch attached |
Date: | Wed, 6 Oct 2021 12:07:03 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #2, bug #61300 (project octave): Wasn't there some recent work by jwe on integer ranges? Because without the patch, if you call primes with an integer class input, this ends up as the upper end of a range that is used for indexing, which perhaps is slow. But why it would be so very slow I do not see. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61300> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |