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 2020/07/29 17:46:18 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #320: Performance Enhancements

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


   This PR has several changes. Here are the highlights:
   
   1. Swapped in a faster `ICollection<T>.ToArray()` extension method that takes precedence over `IEnumerable<T>.ToArray()` from LINQ.
   2. Fixed `FSTTester` to delete while iterating forward over the list using `ConcurrentDictionary`  instead of using `ElementAt()` to iterate in reverse, which sped up the FST tests by 2/3.
   3. `Lucene.Net.Facet.Taxonomy.WriterCache.NameInt32CacheLRU`: Changed `Dictionary` to `ConcurrentDictionary` so items can be removed from the cache while iterating forward through it.
   4. Upgraded J2N to 2.0.0-beta-0009, ICU4N to 60.1.0-alpha.352 and Morfologik.Stemming to 2.1.6-beta-0007.
   5. Disabled build warnings that require .NET Standard 2.1, since we target more platforms
   6. Eliminated several LINQ references for actions that are more efficient to use without creating an enumerator instance.
   7. Migrated the `BinarySearch` overloads from `ListExtensions` to J2N.


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

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



[GitHub] [lucenenet] NightOwl888 merged pull request #320: Performance Enhancements

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


   


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

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