Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: JRuby 1.6.2
-
Fix Version/s: None
-
Component/s: Performance, Ruby 1.9.2
-
Labels:None
-
Number of attachments :
Description
This is an example provided by @launchany on Twitter: https://gist.github.com/1036760
It appears to run a bit slower in 1.9 mode than 1.8 mode. After reducing the benchmark a bit, I did find that Array#join is slower, perhaps because it does not precalculate the size of the string. There may be other cases here that can be improved.
There is a more extensive bug that investigates join performance.