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.
Activity
Charles Oliver Nutter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Charles Oliver Nutter [ headius ] | |
| Resolution | Incomplete [ 4 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
There is a more extensive bug that investigates join performance.