lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 opened a new pull request #309: Impactful performance updates and housekeeping
Date Sat, 11 Jul 2020 19:58:20 GMT

NightOwl888 opened a new pull request #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:

View raw message