[Color Computer] [coco] Learning MW C
neilsmorr at gmail.com
Thu Aug 17 21:10:08 EDT 2006
See the annual Obfuscated C code contest!
----- Original Message -----
From: James Diffendaffer
To be fair I've rewritten... er... "refactored" C++ code to
achive similar savings. At MCI I took over part of a project
processing phone records. Some changes to the C++ classes and
creative typecasting saved over 11MB (yes, Mega Bytes) of RAM and sped
up the code on the production system by about 100 times.
It would have saved even more if they hadn't designed the system to
run at least 2 copies. I also eliminated several thousand lines of
redundant code that wouldn't need to be maintained anymore.
I'm not saying the MCI stuff was bad... just far from optimal.
But the point is... there's C and then there's good C. A bad C
program might not be faster than a good BASIC one.
Brought to you by the 6809, the 6803 and their cousins!
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
ColorComputer-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the Coco