TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Pascal Schmidt
date: 2004-04-12 15:35:48
subject: Squares

Hi Neil! :-)

 NH>        (ie:  (for n=0; n that I would consider it only natural that any optimizing compiler 
 NH> would do what you did, only automatically.  Is this the case?
It depends much on the compiler in use. This kind of problem is quite hard
since you need to look at the instructions inside the loop to figure out
whether they might modify memory pointed to by "target". If they
do, the result of the strlen() might change.

Ciao
Pascal

--- Msged/LNX 6.1.1
* Origin: Linux kernel 2.4.25 on Slackware 9.1 (1:153/401.2)
SEEN-BY: 633/267 270
@PATH: 153/401 307 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.