Attribute assignment is twice as slow as MRI
--------------------------------------------
Key: JRUBY-2033
URL: http://jira.codehaus.org/browse/JRUBY-2033
Project: JRuby
Issue Type: Bug
Components: Compiler
Affects Versions: JRuby 1.1RC1
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.1RC2
{noformat}
MRI:
control 0.080000 0.000000 0.080000 ( 0.084619)
hundred assigns 0.150000 0.000000 0.150000 ( 0.165434)
JRuby's best:
control 0.004000 0.000000 0.004000 ( 0.004000)
hundred assigns 0.219000 0.000000 0.219000 ( 0.220000)
{noformat}
Currently attr assign does not do any call site caching. This is likely why
it's slower.
I'm committing test/bench/bench_attr_assign.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