arne-bdt commented on PR #2405:
URL: https://github.com/apache/jena/pull/2405#issuecomment-2082555798

   I took a quick look at the code and found a small thing that has become 
important to me:
   In Apache Jena, the default implementation of Iterator#forEachReamaining is 
overridden in numerous places to achieve better performance than would be 
possible with #hasNext and #next. 
   (This was part of my contribution and the performance optimisations that 
came with the GrapMem2* graphs).
   Could you please favour Iterator#forEachReamaining if you want to process 
all elements?
   


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