Github user jwagenleitner commented on the pull request:
https://github.com/apache/groovy/commit/6a203d2ca24c521d116054636888198b8b0cf20e#commitcomment-18807157
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java on line
10578:
To to be clear I'm referring here to the original implementation `return
object != null` can be simplified to `return true`. I understand that the
performance issue here is the equals call.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---