CompuServe Thread

Bruce Dawson Review

2 messages in this thread
#28464From: microsmithsJan 2, 1989 6:59 PM
It is possible to swap code size for speed, such as with unrolled loops and jump tables, but I've found generally that code which is carefully crafted will be both smaller and faster. With carefully crafted code, it is possible to eliminate pieces of code which can be replaced by a more compact set of instructions.
#29238From: Nelson IngersollJan 6, 1989 11:01 PM
This is, of course, generally true. Knowledge and care will usually produce a superior prodduct. My point was for those whose think that size of code necessarily means faster, as though the distance traveled makes the trip faster. Depends on where you are and where you're going. – Nelson …