Skip to content

Conversation

@jlerbsc
Copy link
Contributor

@jlerbsc jlerbsc commented Mar 5, 2024

Some method calls can effectively be "no-ops", meaning that the invoked method does nothing, based on the application’s configuration (eg: debug logs in production). However, even if the method effectively does nothing, its arguments may still need to evaluated before the method is called. This fix improves performance, especially in cases where concatenation is used at low logging levels.

Copy link
Contributor

@josemduarte josemduarte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice indeed, thank you! And this completely solves issue #789

@josemduarte josemduarte merged commit 81e0544 into biojava:master Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants