Charles Oliver Nutter wrote:
Attached is an updated patch for the return-value conversion/coercion optimization. It improves things significantly:
FYI, here's the results for a method that returns String. The improvement is about the same ratio:
## before Measure java.lang.Thread#name, String entering Ruby 12.576000 0.000000 12.576000 ( 12.575000) 12.733000 0.000000 12.733000 ( 12.733000) 12.374000 0.000000 12.374000 ( 12.374000) 12.764000 0.000000 12.764000 ( 12.764000) 12.350000 0.000000 12.350000 ( 12.351000) ## after Measure Thread#name, String entering Ruby 2.772000 0.000000 2.772000 ( 2.772000) 2.610000 0.000000 2.610000 ( 2.610000) 2.493000 0.000000 2.493000 ( 2.493000) 2.429000 0.000000 2.429000 ( 2.429000) 2.602000 0.000000 2.602000 ( 2.602000) - Charlie --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
