[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: A note to exceptions && some notes to codesize
From:       Bavo De Ridder <bavo () ace ! ulyssis ! student ! kuleuven ! ac ! be>
Date:       1999-06-11 18:45:14
[Download RAW message or body]

On Fri, 11 Jun 1999, Peter Putzer wrote:
>On Fri, 11 Jun 1999, Steffen Hansen wrote:
>
>> On Fri, 11 Jun 1999, Waldo Bastian wrote:
>> 
>> > Currently exception handling in kdelibs just adds bloat and kills cache
>> > performance without adding anything substantial. It's not worth it.
>> 
>> AFAIK egcs _does_ move exception handling code out of line, so it
>> shouldn't interfere with the cache at all (unless an exception is thrown
>> of course).
>
>I once read a webpage from someone doing benchmarks on different
>compiler-options (with egcs and pgcc), and he came to the conclusion that
>exception-support has improved so much that removing it actually HURTS
>performance! 
>
>(All on Linux/Intel egcs and pgcc - no data on other configurations)
>

We shouldn't aks ourselves if it hurts or not, exception handling is a very
good way of dealing with errors (compared with return values), so we should use
it.


BDR

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic