respond_to? is 2x slower than in MRI
------------------------------------

                 Key: JRUBY-2181
                 URL: http://jira.codehaus.org/browse/JRUBY-2181
             Project: JRuby
          Issue Type: Bug
          Components: Performance
            Reporter: Marcin Mielzynski


while i<1000000
       1.respond_to? :to_ary
        i+=1
end

MRI:
0.762235
0.762403
0.768361
0.755918

jruby:
1.3940000000000001
1.454
1.412
1.4000000000000001

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to