| ??? 01/21/02 15:24 Read: times |
#18940 - typedef & optimisation? |
In the book "TCP/IP Lean" [1], the author states:
"I have used #define in preference to typedef because compilers use better optimisation strategies for their native data types." Is this true of the Keil C51 compiler? ie, will C51 generate better-optimised code from source using #define U8 unsigned charthan from source using typedef unsigned char U8 [1] Bentham, J. "TCP/IP Lean" CMP Books, 2000 ISBN 1-929629-11-7 http://www.iosoft.co.uk/tcplean.htm |
| Topic | Author | Date |
| typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? Derek | 01/01/70 00:00 | |
| RE: typedef & optimisation? Peter | 01/01/70 00:00 | |
| RE: typedef & optimisation Franc | 01/01/70 00:00 | |
| RE: typedef & optimisation? Erik | 01/01/70 00:00 | |
| RE: typedef & optimisation? Peter | 01/01/70 00:00 | |
| RE: typedef & optimisation? Peter/Erik | 01/01/70 00:00 | |
| RE: typedef & optimisation? Peter/Erik | 01/01/70 00:00 | |
| RE: typedef & optimisation? Peter/Erik | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
| RE: typedef & optimisation? | 01/01/70 00:00 | |
RE: typedef & optimisation? | 01/01/70 00:00 |



