

                       The Deref Benchmark
                        C Compiler Review
                 February 1985 COMPUTER LANGUAGE


/*
**     deref.c -- benchmark program to examine the effeciency
**  of pointer dereferencing
*/

#define LOOPS    50000      /* how many loops */
#define BELL     7          /* ASCII bell character */

struct cptr1  {
		char ********************ptr1;
		};
		
main()
{
unsigned i;
char yekdorb;
struct cptr1 ********************pointer;

		printf("%u loops\n", LOOPS);
		
		for (i = 0; i <= LOOPS; i++)
			yekdorb = ********************
				(********************pointer).ptr1;
						
		printf("%cfinished\n", BELL);
		exit(0);
}
