Re: [tcljava-dev] [PATCH] Performance improvement
Brought to you by:
mdejong
From: Mo D. <su...@ba...> - 2002-04-13 18:48:11
|
On Tue, 09 Apr 2002 16:52:32 -0400 Shawn Boyce <sh...@qc...> wrote: > Using a Profiler, I found a hot spot in Expression.java. > The code attempts to see if the parsed value is an integer (or double). > Unfortunately, it is passing non-numbers into strtod which is throwing > an expensive RuntimeException. > > The attached fix was straightforward and borrows from the Tcl C code. Nice work. Your patch was added to the CVS on 2002-04-13. cheers Mo |