[gameprogrammer] Re: std::string alternative
- From: "David Olsen" <jolynsbass@xxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Mon, 21 May 2007 00:00:38 -0500
So does extra work at the compiler level still translate into slower
performance in code execution? Or does it just take a little longer to
compile (with exceptions turned "off") but runs as fast as possible. I
personally wouldn't mind adding a little bit of compile time, but I'd hate
to impact my overall game performance...
-Dave Olsen
Dave Slutzkin wrote:
So turn 'em off and keep using std::string? If you're not checking them
anyway then there's zero difference in functionality.
The compiler does extra work before going in to any function if it knows
(via
declarations) that it has to handle some exceptions being thrown, in order
to
properly handle the way exceptions are passed back up the call stack.
--
Matthew Weigel
hacker
unique & idempot.ent
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: std::string alternative
- From: Kevin Jenkins
- References:
- [gameprogrammer] std::string alternative
- From: Kevin Jenkins
- [gameprogrammer] Re: std::string alternative
- From: Dave Slutzkin
- [gameprogrammer] Re: std::string alternative
- From: Kevin Jenkins
- [gameprogrammer] Re: std::string alternative
- From: Dave Slutzkin
- [gameprogrammer] Re: std::string alternative
- From: Matthew Weigel
Other related posts:
- » [gameprogrammer] std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
- » [gameprogrammer] Re: std::string alternative
Dave Slutzkin wrote:
So turn 'em off and keep using std::string? If you're not checking them anyway then there's zero difference in functionality.
The compiler does extra work before going in to any function if it knows (via declarations) that it has to handle some exceptions being thrown, in order to
properly handle the way exceptions are passed back up the call stack. -- Matthew Weigel hacker unique & idempot.ent --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- [gameprogrammer] Re: std::string alternative
- From: Kevin Jenkins
- [gameprogrammer] std::string alternative
- From: Kevin Jenkins
- [gameprogrammer] Re: std::string alternative
- From: Dave Slutzkin
- [gameprogrammer] Re: std::string alternative
- From: Kevin Jenkins
- [gameprogrammer] Re: std::string alternative
- From: Dave Slutzkin
- [gameprogrammer] Re: std::string alternative
- From: Matthew Weigel