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
If it turns out that left_child_with_depth and right_child_with_depth can be private, there's a few things we could change after that
If they aren't used internally (which I suspect they aren't), then we could merge them, so body of left_child_with_depth is moved to left_child (and similarly for right_child)
The depth == 0 check is no longer needed, since this only happens for even indices
If it turns out that
left_child_with_depth
andright_child_with_depth
can be private, there's a few things we could change after thatleft_child_with_depth
is moved toleft_child
(and similarly forright_child
)depth == 0
check is no longer needed, since this only happens for even indicesSo
Could be
The text was updated successfully, but these errors were encountered: