Method#to_proc.call invocations much slower than normal Method#call invocations
-------------------------------------------------------------------------------
Key: JRUBY-2174
URL: http://jira.codehaus.org/browse/JRUBY-2174
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Charles Oliver Nutter
Our Method#to_proc implementation ends up using reflection for the resulting
"MethodBlock". This results in Method#to_proc proc invocation being slower than
normal Method#call invocation. A benchmark is in
test/bench/bench_method_to_proc.rb.
--
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