You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2005/02/01 05:29:43 UTC

DO NOT REPLY [Bug 25874] - [PATCH] Decimals in velocity

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25874>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25874





------- Additional Comments From wglass@forio.com  2005-02-01 05:29 -------
Well, I ran the test suite again.  To my embarassment, there appears to be 
almost no difference between Velocity with the decimal patch and without.  It 
appears I took the version of Velocity previously compiled in the 1.4 release 
and compared it with one compiled on my machine.  When I ran the latest source 
(compiled in the same manner) with and without the decimal patch, the results 
were identical.  10000 merges of an integer math heavy file took an average of 
1532 ms (without the patch) and 1537 ms (with the patch).  A one-line file 
took 80 ms.

I've attached the test suite I used in case anyone else wants to play with 
this.  Run "ant run-test" and "ant run-test2".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org