[
Lists Home |
Date Index |
Thread Index
]
> > It is well known that claims of efficiency and inefficiency mean
nothing
> > unless backed up with numbers, for programmers' intuition on the
subject
> > is notoriously in error.
>
> This is no intuition. I can whip up a quick demo in Delphi
> (I already did - took 5 minutes) which shows that passing a Boolean
result
> up from a 5 levels deep nested procedure call executed in a loop is at
> least
> 100 times as fast as throwing and catching an exception for the same
> purpose.
> I can post or e-mail it if you really want to see it.
I did the same in Java, and it is well over 1000 times slower. I agree
with John that performance isn't everything, but 1000 times slower using
the same technology is, IMO, completely unreasonable.
|