Op assignment much slower than MRI
----------------------------------
Key: JRUBY-2035
URL: http://jira.codehaus.org/browse/JRUBY-2035
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}
Ruby:
control 1.850000 0.010000 1.860000 ( 1.856554)
100 asgns 3.630000 0.010000 3.640000 ( 3.665156)
100 array asgns 3.410000 0.010000 3.420000 ( 3.432175)
JRuby:
control 0.546000 0.000000 0.546000 ( 0.546000)
100 asgns 3.673000 0.000000 3.673000 ( 3.674000)
100 array asgns 13.697000 0.000000 13.697000 ( 13.698000)
{noformat}
Ouch. Same general reason as for attr assignment, just a very inefficient
implementation in the compiler. Same technique should make it possible to fix
this.
--
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