-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splitting Gigantic EqualsNode into few Smaller Ones #6280
Conversation
distribution/lib/Standard/Base/0.0.0-dev/src/Data/Ordering.enso
Outdated
Show resolved
Hide resolved
…pes are supposed to be handled on boundary. However when we see WithWarnings - we have to delegate that to EqualsComplexNode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from some minor nitpicks, seems good. Make sure to run the benchmarks, compare them, and publish the results. I am really interested in that.
engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/EqualsNode.java
Outdated
Show resolved
Hide resolved
engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/EqualsNode.java
Outdated
Show resolved
Hide resolved
...main/java/org/enso/interpreter/node/expression/builtin/ordering/HasCustomComparatorNode.java
Outdated
Show resolved
Hide resolved
…ion/builtin/meta/EqualsNode.java Co-authored-by: Pavel Marek <[email protected]>
1711239
to
dcd484b
Compare
...main/java/org/enso/interpreter/node/expression/builtin/ordering/HasCustomComparatorNode.java
Outdated
Show resolved
Hide resolved
engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/EqualsNode.java
Show resolved
Hide resolved
Assuming latest change fixes all tests, let's run benchmarks! Another benchmark run. Comparing the two runs with today's regular run reveals just one suspicious result Performance is ready to go. |
Pull Request Description
Fixes #6191 by splitting
EqualsNode
into more smaller ones. Creating just the basic one by default and the more complex ones on demand. Expecting that for majority of usages only the basic node is enough.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
/blob/develop/docs/style-guide/rust.md) style guide.
InteropLibrary
when==
arrays, hashes, objects