|
From: | Dmitri A. Sergatskov |
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:02:49 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #1, bug #61300 (project octave): It looks like a regression. In 6.3.1 the difference is smaller. octave:1> n = 1.5e9; tic; p1 = primes(n); toc, tic; p2 = primes(uint64(n)); toc Elapsed time is 4.6902 seconds. Elapsed time is 5.02894 seconds. Dmitri. -- _______________________________________________________ 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] |