arne-bdt opened a new issue, #3844:
URL: https://github.com/apache/jena/issues/3844

   ### Change
   
   Using JEP 394: Pattern Matching for instanceof for `#equals` in `Node` and 
`Triple` implementations
   
   Background: 
   While working with benchmarks Jena 6 seemed slower than Jena 5.6 although 
the measured code was almost identical. The profiler showed more time spent in 
those `#equals` methods, so the OpenJDK 21 optimizer seemed to have skipped 
those. Maybe I was just hunting ghosts but nevertheless, the code is more 
concise now and the benchmarks 'magically' now show the expected comparable 
results for both jena releases.
   
   ### Are you interested in contributing a pull request for this task?
   
   Yes


-- 
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]

Reply via email to