Performance of exception handling

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon May 9 22:31:29 PDT 2011


On 5/10/11, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> On 5/10/11, Walter Bright <newshound2 at digitalmars.com> wrote:
>> On 5/9/2011 9:48 PM, Andrej Mitrovic wrote:
>>> Well I can understand throwing exceptions when using readln() or
>>> validate(), but decode() is used for one code point at a time.
>>> Throwing is overkill imo.
>>
>> Perhaps decode() is badly designed.
>>
>
> It has goto's and exceptions. What's not to like? :p
>

Oh and an enforce at the top to kill any potential inlining. Hehehe.


More information about the Digitalmars-d mailing list