From 497fa6222e47837f2b8d19931589f03846c331fc Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 23 Feb 2009 15:51:31 +0000 Subject: * math.c (Need_Float): call rb_to_float() only when it is really needed. small performance improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e78c50ceb..aebe79fe7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ Tue Feb 24 00:24:13 2009 Yukihiro Matsumoto * range.c (range_each): check #succ only when it is really needed. small performance improvement. + * math.c (Need_Float): call rb_to_float() only when it is really + needed. small performance improvement. + Tue Feb 24 00:19:33 2009 Yukihiro Matsumoto * lib/pathname.rb (Pathname#foreachline): removed wrongly -- cgit