You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/07/24 10:29:00 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #501: Factored out Lucene.Net.Support.ListExtensions::SubList() in favor of J2N's GetView() methods

NightOwl888 opened a new pull request #501:
URL: https://github.com/apache/lucenenet/pull/501


   This replaces the partially implemented `SubList` functionality that was in `Lucene.Net.Support.ListExtensions` with a full implementation that has an optimized enumerator and correctly throws exceptions from all members if an ancestor list is modified.
   
   There were also several unnecessary allocations removed due to calls to `List<T>.GetRange()` which copies the elements instead of creating a view over the same 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: dev-unsubscribe@lucenenet.apache.org

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



[GitHub] [lucenenet] NightOwl888 merged pull request #501: Factored out Lucene.Net.Support.ListExtensions::SubList() in favor of J2N's GetView() methods

Posted by GitBox <gi...@apache.org>.
NightOwl888 merged pull request #501:
URL: https://github.com/apache/lucenenet/pull/501


   


-- 
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: dev-unsubscribe@lucenenet.apache.org

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