-
-
Notifications
You must be signed in to change notification settings - Fork 925
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7c55b3b1d4e6
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 256042b90d1f
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 2 files changed
- 2 contributors
Commits on Sep 30, 2016
-
Inspect directly into a RubyString and avoid StringBuilder/char[].
This should reduce the overhead of inspecting by avoiding the intermediate StringBuilder/char[] and subsequent conversion to byte[]. There are a few extra objects created along the way (java.lang.String.getBytes, RubyString for class name, etc) but overall memory use should reduce around 3x: a US-ASCII string would need 2x byte size in the StringBuilder, and the builder is still alive when we create the eventual byte[] for a total of 3x max memory use during inspect. Relates to #4127, but does not constitute a fix for memory issues there.
Configuration menu - View commit details
-
Copy full SHA for a40621d - Browse repository at this point
Copy the full SHA a40621dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8131146 - Browse repository at this point
Copy the full SHA 8131146View commit details
Commits on Oct 12, 2016
-
Merge pull request #4128 from headius/lighter_inspect
Inspect directly into a RubyString and avoid StringBuilder/char[].
Configuration menu - View commit details
-
Copy full SHA for 256042b - Browse repository at this point
Copy the full SHA 256042bView commit details
There are no files selected for viewing