Skip to content

Commit e26ae04

Browse files
author
Nicolas Laurent
committed
[GR-28934] Remove TODO
PullRequest: truffleruby/2367
2 parents 3378c66 + 6287568 commit e26ae04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/truffleruby/core/module/ModuleNodes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,8 @@ protected RubyNode coerceToBoolean(RubyNode inherit) {
17731773
return BooleanCastWithDefaultNodeGen.create(true, inherit);
17741774
}
17751775

1776-
// TODO (pitr-ch 30-Mar-2016): cache lookup
1776+
// NOTE(norswap): We considered caching the lookup here, but determined that the resulting complexity
1777+
// increase in LookupMethodNode wasn't worth it, as it would slow down the more common cases.
17771778

17781779
@Specialization(guards = "inherit")
17791780
protected boolean isMethodDefinedInherit(RubyModule module, String name, boolean inherit) {

0 commit comments

Comments
 (0)