Re: OT: Re: A very slow program

Liste des GroupesRevenir à cl c 
Sujet : Re: OT: Re: A very slow program
De : vir.campestris (at) *nospam* invalid.invalid (Vir Campestris)
Groupes : alt.comp.lang.c comp.lang.c
Date : 26. Oct 2024, 22:02:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfjhs2$3rs90$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 26/10/2024 15:33, Bonita Montero wrote:
Am 26.10.2024 um 16:28 schrieb Vir Campestris:
 
You're on Windows aren't you? I do know you have a far more powerful machine than I do. I'm running Ubuntu with Gnu compiler. (I tried Clang, but it's slower)
 I compared your code against mine on a AMD 7950X.
 
Which operating system, and which compiler?
It's probably also worth trying for a much larger number of primes. I wrote my command line parser so it will try to read the number as a double if it isn't an integer.
For 100000000000 primes my code on my machine is 39s, and yours is 3:46.
(I've got the mod30 version down to 28s now, but met an intractable optimiser funny)
Andy

Date Sujet#  Auteur
16 Sep 24 * A very slow program21Student Project
16 Sep 24 +- Re: A very slow program1Kaz Kylheku
16 Sep 24 +* Re: A very slow program3Paul
2 Oct 24 i`* Re: A very slow program2Vir Campestris
2 Oct 24 i `- Re: A very slow program1Paul
2 Oct 24 +* Re: A very slow program14Bonita Montero
3 Oct 24 i+* OT: Re: A very slow program12Vir Campestris
4 Oct 24 ii`* Re: OT: Re: A very slow program11Bonita Montero
20 Oct 24 ii `* Re: OT: Re: A very slow program10Vir Campestris
20 Oct 24 ii  +* Re: OT: Re: A very slow program2Kenny McCormack
26 Oct 24 ii  i`- Re: OT: Re: A very slow program1Vir Campestris
21 Oct 24 ii  +* Re: OT: Re: A very slow program6Bonita Montero
26 Oct 24 ii  i`* Re: OT: Re: A very slow program5Vir Campestris
26 Oct 24 ii  i `* Re: OT: Re: A very slow program4Bonita Montero
26 Oct 24 ii  i  `* Re: OT: Re: A very slow program3Vir Campestris
27 Oct 24 ii  i   `* Re: OT: Re: A very slow program2Bonita Montero
28 Oct 24 ii  i    `- Re: OT: Re: A very slow program1Vir Campestris
22 Oct 24 ii  `- Re: OT: Re: A very slow program1Richard Harnden
3 Oct 24 i`- Re: A very slow program1Paul
2 Oct 24 `* Re: A very slow program2Janis Papanagnou
3 Oct 24  `- Re: A very slow program1Keith Thompson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal