Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP
Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!packard!edsel!bentley!hoxna!houxm!mtuxo!mtunh!mtung!mtunf!ariel!vax135!timeinc!phri!pesnta!hplabs!amdahl!drivax!braun
From: braun@drivax.UUCP (Karl Braun)
Newsgroups: net.lang.c
Subject: Re: register variables
Message-ID: <166@drivax.UUCP>
Date: Wed, 26-Jun-85 15:26:09 EDT
Article-I.D.: drivax.166
Posted: Wed Jun 26 15:26:09 1985
Date-Received: Tue, 2-Jul-85 06:27:52 EDT
References: <472@crystal.UUCP> <551@ucsfcgl.UUCP>
Distribution: net
Organization: Digital Research, Monterey, CA
Lines: 28

Ken Arnold presented the following example while talking about the necessity
of proper ordering when declaring register vars.  

> 
> 	register int	i, j;
> 
> 	for (i = 0; ...)
> 		for (j = 0; ...)
> 

It made me wonder if the following version would be any more efficient:

	register int	i ;

	for( i = 0 ; ... )
	{
		register int	j ;

		for( j = 0 ;... )
	}

-- 
			kral
ihnp4!-------- \
mot! ---------- \
ucbvax!unisoft!  >	drivax!braun
ucscc!--------- /
amdahl!------- /