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 : 28. Oct 2024, 18:21:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfodm4$12hve$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
On 27/10/2024 05:02, Bonita Montero wrote:
Am 26.10.2024 um 22:02 schrieb Vir Campestris:
 
Which operating system, and which compiler?
 Win11, clang-cl 17.0.3. MSVC is about the same performance.
 
The plot thickens.
I'm in Ubuntu 24.01 LTS.
I normally use Gnu C++, g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0.
Using g++ for 10000000000 primes my code took 3.3s, and yours 22.7.
If I rebuild them using clang (Ubuntu clang version 18.1.3) then
my code takes 14.5s (far slower) and yours takes 11.6 (much quicker than with Gnu and a bit quicker than mine).
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