Dave Seff <[EMAIL PROTECTED]> writes:
> It it obvious that gcc 2.95.3 creates code that is twice as fast as the
> latter versions.
humf. You must precise that it's better for this "atlas" thingy. You can't
generalize that easily for anything else.
just for fun, here is a test that is more *much* faster on gcc > 2.95
void recursive_memset(char *p, int n) {
if (n) {
*p = 0;
recursive_memset(p + 1, n - 1);
}
}
#define NB 10000
main () {
char tab[NB];
int i;
for (i = 0; i < 10000; i++) recursive_memset(tab, NB);
}