Abstract
These days, compilers are pretty smart. They can perform all sorts of code transformations—from simple inlining to sophisticated register analysis—that make compiled code run faster. In most situations, faster is better than smaller, because disk space and memory are quite cheap for desktop users. However, for embedded systems small is often at least as important as fast because of a commonplace environment consisting of extreme memory constraints and no disk space, making code optimization a very important task.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 William von Hagen
About this chapter
Cite this chapter
von Hagen, W. (2006). Optimizing Code with GCC. In: The Definitive Guide to GCC. Apress. https://doi.org/10.1007/978-1-4302-0219-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0219-6_5
Publisher Name: Apress
Print ISBN: 978-1-59059-585-5
Online ISBN: 978-1-4302-0219-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books