| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | For loops in C... |
Hi Bob BL> I got all excited writing macros, but unless you use it lots, BL> you may as well just write it longhand a few times. RM> Complex macros in C are frowned on, they can almost always be RM> written in conventional code in the same space. BL> This came out of a tight loop (zmodem?) where I was calling a BL> function in Pascal several times and Paul was using a macro... The BL> Pascal approach ran at HALF speed. When I changed my function to BL> code written several times as you suggest, it was as fast as C and BL> five-times as messy. Calling the function was taking most of the time. Declare the function "inline". Neat, fast, takes a bit more space in the exe. Cheers --- PPoint 1.88* Origin: Silicon Heaven (3:711/934.16) SEEN-BY: 711/808 934 712/610 @PATH: 711/934 |
|
| 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™.