Skip to content

Minor tweaks to Java ext for performance.#112

Merged
flori merged 4 commits into
ruby:masterfrom
headius:jruby_perf_tweaks
Dec 20, 2011
Merged

Minor tweaks to Java ext for performance.#112
flori merged 4 commits into
ruby:masterfrom
headius:jruby_perf_tweaks

Conversation

@headius

@headius headius commented Dec 20, 2011

Copy link
Copy Markdown
Contributor
  • Avoid full newInstance logic if constructing normal Array or Hash
  • Skip intermediate RubyString for float and integer parsing
  • Avoid toString for comparison with "-Infinity"
  • Avoid repeated class.getName().equals() calls

* Avoid full newInstance logic if constructing normal Array or Hash
* Skip intermediate RubyString for float and integer parsing
* Avoid toString for comparison with "-Infinity"
* Avoid repeated class.getName().equals() calls
@flori flori merged commit 3c7c292 into ruby:master Dec 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants