Path: utzoo!utgpu!watmath!clyde!att!cbnewsh!wcs From: wcs@cbnewsh.ATT.COM (Bill Stewart 201-949-0705 ho95c.att.com!wcs) Newsgroups: comp.unix.questions Subject: Re: relative value of stripping symbols Message-ID: <348@cbnewsh.ATT.COM> Date: 2 May 89 01:19:41 GMT References: <17615@cisunx.UUCP> <1484@auspex.auspex.com> Reply-To: wcs@cbnewsh.ATT.COM (Bill Stewart 201-949-0705 ho95c.att.com!wcs) Organization: Your typical phone company involved in your typical daydream Lines: 17 In article <1484@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: ] This is a UNIX question, not a C question.... ] > Just a little question of some interest. Suppose I have a C program that ] > when compiled with the -g option (debugging symbols left in) (this is ATT ] > Unix Sys V). Does leaving these symbols in the file affect program ] > performance? ] No. Well, yes, actually. The symbols themselves don't cause the problem, but most compilers turn off optimization if you compile with the -g option. So you do end up with slower code. Bill -- # Bill Stewart, AT&T Bell Labs 2G218 Holmdel NJ 201-949-0705 ho95c.att.com!wcs # also found at 201-271-4712 tarpon.att.com!wcs # welcome, to mars, eh, hosers! Have a brew and some donuts, eh?