Skip to content

Comments

fix(eager): Use isResolvableObject instead of contains before trying to build hashcode#1286

Open
jasmith-hs wants to merge 1 commit intomasterfrom
use-is-resolvable-instead
Open

fix(eager): Use isResolvableObject instead of contains before trying to build hashcode#1286
jasmith-hs wants to merge 1 commit intomasterfrom
use-is-resolvable-instead

Conversation

@jasmith-hs
Copy link
Contributor

  1. using contains can cause a StackOverflowError
  2. If the depth grows very deep, running hashCode can be quite slow, using isResolvableObject will break out before going into too much depth and we won't use hashCode

In cases where we can't use the hashCode of such objects, we just aren't able to check for changes to them

hashcode

1. using `contains` can cause a StackOverflowError
2. If the depth grows very deep, running hashCode can be quite slow,
   using isResolvableObject will break out before going into too much
   depth and we won't use hashCode

In cases where we can't use the hashCode of such objects, we just aren't
able to check for changes to them
@jasmith-hs jasmith-hs changed the title Use isResolvableObject instead of contains before trying to build hashcode fix(eager): Use isResolvableObject instead of contains before trying to build hashcode Feb 23, 2026
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.

3 participants