Gotcha. : ) Chris Sells http://www.sellsbrothers.com
> -----Original Message----- > From: Moderated discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED]] On Behalf Of Ross, George > Sent: Wednesday, January 22, 2003 12:39 PM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Braces make code execution faster? > > But how to explain Drew's point re: the identical ILs? Could the savings be at compile-time > rather than run-time? > > >It's well known that braces speed up code. That's why VB has > >always been > >slower and while K&R chose to ape B when developing C (and why > >Stroustrup continued the tradition). In fact, check out page 255 in the > >D&E [1] where Stroustrup provides a little table showing the speed > >increase (between 9-101%, depending on what you're doing). You don't > >think that any of us actually *likes* using braces, do you? The VB > >syntax is *so* much better, but we avoid it due to the > >speed-up provided > >by braces. You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
