Re: Big GOTCHAs WITH forprime()
Ilya Zakharevich <[email protected]> Sat, 13 Jan 2024 01:42:39 -0800
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <ZaJbD/[email protected]> |
On Sat, Jan 13, 2024 at 02:25:53AM +0100, Oliver Bandel wrote:
> How do you meaure the time in your two short examples at the top?
> A complete code, that shows it, would be nice.
The example of the code is immediately above the table. For example,
for the bottom right entry:
my(s=191*10^15); forprime(p=s, s + 6*10^8,);
> Regarding your crash: I could not confirm it on my (quite old) laptop.
Mine is 10 years old. i5-3210M. (But I do not think this is
relevant.) It is Win 7 with all the possible updates. Yours is
Linux & threaded. (⇒ Different memory layout.)
Ilya