Struct performance is pretty poor
---------------------------------
Key: JRUBY-2220
URL: http://jira.codehaus.org/browse/JRUBY-2220
Project: JRuby
Issue Type: Bug
Components: Performance
Affects Versions: JRuby 1.1RC2
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.1
Attachments: 157_justin_ethier.rb
For the attached implementation of Ruby Quiz 157, we perform very poorly. I
believe this is due to its use of Struct, which has not yet been optimized or
converted to the new method binding logic. We should fix this before 1.1...and
it's possible this is a bottleneck for other applications as well.
The full set of impls are here:
http://tastyspleen.net/~billk/ruby/quiz/157-smallest-circle/benchmark/
--
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