View Single Post
  #2 (permalink)  
Old July 14th, 2004, 12:58 PM
Jeff Mason Jeff Mason is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Hudson, MA, USA.
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

A debug build generates a file containing debug symbols (.pdb); a release build does not.

A debug build generates extra instructions to accomodate the debugger (e.g. NOP instructions to assist your setting breakpoints); a release build does not include these.

A release build uses full optimizations when compiling which might include rearranging your code or inlining it for efficiency, a debug build doesn't do this.

A debug build allocates extra memory on the heap for objects to facilitate detecting memory overwrite errors; a release build doesn't do this.

A release build will thus be smaller, faster, and more efficient than a debug build.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com
Reply With Quote