You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by "arne-bdt (via GitHub)" <gi...@apache.org> on 2026/05/06 11:51:14 UTC

[PR] GH-3900: misc mem improvements [jena]

arne-bdt opened a new pull request, #3901:
URL: https://github.com/apache/jena/pull/3901

   GitHub issue resolved #3900
   
   Pull request Description:
   
   Minor bugs fixed:
   - FastArrayBunch does not hold references to orphans after #tryRemove and #removeUnchecked
   - FastHashMap#computeIfAbsent does not creat an invalid state if call of absentValueSupplier fails
   - FastHashMap#compute now grows on insert like all other insert operations of this map
   
   Improvements:
   - iterators and spliterators don't need a runnable for concurrency check any more. They check the size directly, which has been shown to be faster.
   - FastHashBase#fillPositionsArray now iterates over the dense keys array, which should be faster in most cases.
   - Removed FastHashSet#IndexedKey and the corresponding iterator and spliterator implementations --> introduced FastHashBase#forEachKey and #forEachKeyParallel instead
   - added JavaDoc
   - added tests
   
   ----
   
    - [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: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


Re: [PR] GH-3900: misc mem improvements [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs merged PR #3901:
URL: https://github.com/apache/jena/pull/3901


-- 
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: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org