TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bob Stout
from: Jasen Betts
date: 2003-09-21 08:21:12
subject: Re: Snippets ini.c

Hi Bob.

19-Sep-03 18:36:00, Bob Stout wrote to Tom Torfs


 BS> From: rbs{at}snippets.org To: c_echo{at}yahoogroups.com To:
 BS> rbs{at}snippets.org (Bob Stout) Copy: c_echo{at}yahoogroups.com Copy:
 BS> tomtorfs{at}village.uunet.be

 BS> Quoting Bob Stout :

 >> I'll fix #3 for rmtrail.c this weekend... ;-)

 BS> It didn't take that long, after all... ;-) Along the way, I
 BS> totally eliminated the strlen() call.

and appraently replaced it with this:

 BS> for (i = 0; str[i]; ++i) ;

There no guarantee that that's better than  i=strlen(str)
it looks to me to be almost certainly less effificient.


 -=> Bye <=-

---
* Origin: Open the pod bay doors, HAL. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 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™.