Skip to content

Actually cache the idTest on the module.#4507

Merged
headius merged 1 commit intojruby:masterfrom
snowp:fix-idtest-cache
Feb 24, 2017
Merged

Actually cache the idTest on the module.#4507
headius merged 1 commit intojruby:masterfrom
snowp:fix-idtest-cache

Conversation

@snowp
Copy link
Contributor

@snowp snowp commented Feb 24, 2017

This was assigning to the local variable, so the MethodHandle would be created ever time this is called.

This was assigning to the local variable, so the  would be created ever time this is called.
@headius
Copy link
Member

headius commented Feb 24, 2017

D'oh. Wanted to avoid eagerly creating them and went too far. Thanks!

@headius headius added this to the JRuby 9.1.8.0 milestone Feb 24, 2017
@headius headius merged commit 74c5095 into jruby:master Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants