Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1RC2
-
Fix Version/s: JRuby 1.1.3
-
Component/s: Performance
-
Labels:None
-
Number of attachments :
Description
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/
Charlie already got quite a bit better struct performance, but not all of the ruby quiz entrants which used structs are faster (which may or may not be because of structs). Leaving open but moving to 1.1+.