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/11 19:58:20 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #309: Impactful performance updates and housekeeping

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


   This PR contains several updates, here are the highlights:
   
   ## Performance
   
   - Removed ~75% of LINQ code that was slowing down performance
   - Optimized empty array creation
   - Optimized empty collection creation
   - Replaced `BitArray` with `BitSet`, as the extension methods that were used to "patch" `BitArray` are slow
   - Optimized ~75% of regular expression calls by replacing static methods with pre-compiled statically-cached Regex instances
   
   A few of these updates are very impactful affecting both the default codec and code that is common among most analyzers.
   
   ## Housekeeping
   
   - Straightened up license headers
   - Changed entire solution to use expression style property syntax, when possible
   - Cleaned up leading whitespace to use spaces instead of tabs
   - Renamed private/internal fields camel case in all of the core tests
   - Removed most unnecessary fully-qualified exception names
   - Removed legacy .NET Core 1.x and .NET Standard 1.x support from project files and cleaned up dependencies


----------------------------------------------------------------
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 #309: Impactful performance updates and housekeeping

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


   


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