Re: A very slow program

Liste des GroupesRevenir à cl c 
Sujet : Re: A very slow program
De : nospam (at) *nospam* needed.invalid (Paul)
Groupes : alt.comp.lang.c comp.lang.c
Date : 02. Oct 2024, 12:37:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdj7q2$371dm$1@dont-email.me>
References : 1 2 3
User-Agent : Ratcatcher/2.0.0.25 (Windows/20130802)
On Wed, 10/2/2024 6:16 AM, Vir Campestris wrote:
On 16/09/2024 06:22, Paul wrote:
Good prime code, comes with its own timing routines 🙂
>
http://cr.yp.to/primegen.html
>
    http://cr.yp.to/primegen/primegen-0.97.tar.gz
>
   Paul
 
I pricked my ears up when I saw this - I've been spending a quite ridiculous amount of time tuning prime code.
 
Happily for my sanity the program I published over on comp.lang.c++(1) is quite a bit faster than that one. On the other hand, I'm tuning for modern processors, and the comment in there say inter alia "It generates the 50847534 primes up to 1000000000 in just 8 seconds on a Pentium II-350"
 
I don't remember the last time I saw one of those.
 
<https://en.wikipedia.org/wiki/List_of_Intel_Pentium_II_processors>
 
tells me it was release in 1998...
 
Andy

I started on PCs, with a Celery 300 for home use.
That was the one that didn't have cache.

And the generation before I got a machine, there
were cache DIMMs for adding a cache function, and
the cache DIMM in some cases, only covered half
the address space, instead of covering the whole
thing. The things you have to put up with.

   Paul


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