This is the code that I saw (from the beginning of this discussion on
the user's list).
begin quote----------------------------------------------------------
PS: Since I am already sending another mail, let me append a pending
question:
I often see code like this in the servlet:
while (...) {
try {
...
} catch ( ... ) {
...
}
}
which could be replaced with
try {
while (...) {
...
}
} catch ( ... ) {
...
}
which is faster in my imagination.
Is there a reason or is my imagination false?
end quote----------------------------------------------------------
If the discussion has moved on to something else, then I apologize for
wasting your time.
-Ben
On Tue, 2004-10-12 at 15:31, Steffen Heil wrote:
> Hi
>
> > Compile, run, and view the output from this program.
> > I think you'll see the difference :o)
>
> Sorry, but did you actually read the code it posted?
> I KNOW that there CAN be a difference in semantics.
> YOUR code has different semantics.
>
> BUT in the code I POSTED there is NONE !
>
> So, please read it first.
>
> Regards,
> Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|