arne-bdt opened a new pull request, #3324:
URL: https://github.com/apache/jena/pull/3324
COALESCE function previously showed poor performance compared to
IF(BOUND(...), ..., ...) pattern
GitHub issue resolved #3323
Pull request Description:
COALESCE now checks if a variable is bound before evaluating it. This avoids
creating an exception for each unbound variable, which previously impacted
performance.
Added shadedJena550 and `org.apache.jena.sparql.expr.TestCoalesce` to
implement benchmarks and evaluate the performance impacts.
----
- [x] Tests are included.
- [x] Commits have been squashed to remove intermediate development commit
messages.
- [x] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a
contribution to the Apache Software Foundation under the terms and conditions
of the [Contributor's
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
----
See the [Apache Jena "Contributing"
guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]