You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
searchMethodInner iterates up the inheritance hierarchy and calls searchMethodCommon on each module in the chain, but searchMethodCommon also calls searchMethodInner on its superClass! This results in ridiculous exponential expansion of work when a method can't be found. To reproduce the issue:
searchMethodInner
iterates up the inheritance hierarchy and callssearchMethodCommon
on each module in the chain, butsearchMethodCommon
also callssearchMethodInner
on itssuperClass
! This results in ridiculous exponential expansion of work when a method can't be found. To reproduce the issue:Calling
non_existing_method
takes ~8 sec at a depth of 20, ~14 sec at 21, ~26 sec at 22, etc.I'm not quite sure what the right fix is, since this is in prepend territory, but it's a definite problem right now.
The text was updated successfully, but these errors were encountered: