Performance of exception handling
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon May 9 22:30:52 PDT 2011
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
More information about the Digitalmars-d
mailing list