This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.


    from cffc8dd  Added missing license headers
     new 3858ec9  SWEEP: Removed all calls to Type.GetTypeInfo() extension 
method, which is costing a few ns each time it is called.
     new c2d23de  Lucene.Net.Util.AttributeSource: Optimize creation of 
built-in attributes (#295, #261)
     new 2713663  Lucene.Net.Util.AttributeSource: Optimized string building 
for converting Attribute interface name to Attribute class name (#295, #261)
     new 8371425  Lucene.Net.TestFramework: refactored collection asserts so 
aggressive mode can be passed as an optional parameter (true by default)
     new b76dc81  Lucene.Net.Tests.Util.TestIdentityHashSet: Use non-aggressive 
comparison for J2N collections
     new 451ca45  Lucene.Net.TestFramework: Removed NUnit.CollectionAssert 
overloads
     new 1f24d31  
Lucene.Net.TestFramework.Randomized.Generators.RandomInts::RandomInt32Between():
 Debug.Assert needs to be compiled out of the build in this case to avoid 
performance issues with its string formatting (#295, #261)
     new b66279b  Lucene.Net.TestFramework:RandomExtensions: Added missing 
overload of NextInt64(long) to choose only max upper bound
     new 867834b  Lucene.Net.Util.Automaton: Fixed State class to initialize 
and trim more efficiently (#295, #261). Fixes the performance of 
Lucene.Net.Util.Automaton.TestBasicOperations::TestEmptyLanguageConcatenate().
     new 508389f  Lucene.Net.Util.Automaton.DacuikMihovAutomatonBuilder: Reduce 
the number of zero length array allocations (#295, #261)
     new 55e44c7  Automaton patches
     new c7f23fa  
Lucene.Net.TestFramework.Search.RandomSimilarityProvider::ToString(): Use 
StringBuilder for better efficiency (#295, #261)
     new 98c0295  
Lucene.Net.Analsis.TokenAttributes.CharTermAttribute::ResizeBuffer(): Use 
Array.Resize() rather than copy (#261)
     new 793fea9  Lucene.Net.TestFramework.Util.LuceneTestCase: Cache codecType 
and similarityName as strings so they don't have to be regenerated on each test 
(#261, #295)
     new 9c46959  Lucene.Net.TestFramework: Using Assert.That is several times 
slower than Assert.IsFalse (#295)
     new eb99971  Lucene.Net.Tests.Suggest: Removed calls to ElementAt() (#261)
     new 6f98edf  Lucene.Net.Suggest: Removed ElementAt() calls from Lists, 
also reversing the list in place is faster than LINQ (#261)
     new 29d186c  
Lucene.Net.QueryParser.ComplexPhrase.ComplexPhraseQueryParser: Remove 
ElementAt() from List (#261)
     new 3086148  Lucene.Net.Index.Term: Optimized equality checking (#295, 
#261)
     new f420576  Lucene.Net.Util (BytesRef + CharsRef): Implemented 
IEquatable<T>
     new 528dfa4  Lucene.Net.TestFramework: Added some overloads with 
Func<string>, since some of the messages are expensive to build and only apply 
to the failure case
     new 55a5595  Updated assertEquals and Assert.AreEqual to specify 
aggressive: false when it doesn't apply to the test
     new 7550f36  Lucene.Net.Tests.Index.TestDocumentsWriterDeleteQueue: 
Updated comparisons to reduce memory allocations (#261)
     new 4a26905  Lucene.Net.TestFramework: Changed 
ConcurrentMergeSchedulerFactories.Values to only return the TaskMergeScheduler 
rarely, since it is no longer a default setting and is slowing down tests 
(#295, #261)
     new 595ac60  Lucene.Net.Support.Collections::ToString(): Fixed overloads 
to write "null" when the collection passed is null rather than throw an 
exception
     new 80abcf8  Lucene.Net.Util: Use Array.Empty<T>() when possible
     new 40186fb  Lucene.Net.Util (MathUtil + NumericUtils + SloppyMath + 
UnicodeUtil): Added some aggressive inlining, made classes static (#261)

The 27 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Directory.Build.targets                            |   8 +-
 .../Analysis/Snowball/SnowballFilter.cs            |   2 +-
 .../Snowball/SnowballPorterFilterFactory.cs        |   2 +-
 .../Analysis/Util/ClasspathResourceLoader.cs       |   4 +-
 .../Collation/CollationAttributeFactory.cs         |   2 +-
 .../Collation/ICUCollationAttributeFactory.cs      |   2 +-
 .../ByTask/Feeds/ContentItemsSource.cs             |   2 +-
 .../ByTask/Tasks/AnalyzerFactoryTask.cs            |  12 +-
 src/Lucene.Net.Benchmark/ByTask/Utils/Algorithm.cs |   2 +-
 .../SimpleText/SimpleTextStoredFieldsReader.cs     |   2 +-
 .../SimpleText/SimpleTextTermVectorsReader.cs      |   2 +-
 .../JS/JavascriptCompiler.cs                       |   6 +-
 .../Taxonomy/Directory/DirectoryTaxonomyWriter.cs  |   2 +-
 src/Lucene.Net.Facet/Taxonomy/TaxonomyReader.cs    |   2 +-
 src/Lucene.Net.Grouping/SearchGroup.cs             |   2 +-
 src/Lucene.Net.Grouping/TopGroups.cs               |   2 +-
 .../ComplexPhrase/ComplexPhraseQueryParser.cs      |   2 +-
 .../Flexible/Core/Builders/QueryTreeBuilder.cs     |   2 +-
 src/Lucene.Net.Suggest/Spell/SpellChecker.cs       |   4 +-
 .../Suggest/Analyzing/FSTUtil.cs                   |   2 +-
 .../Suggest/Fst/FSTCompletion.cs                   |   8 +-
 .../Support/TestFramework/Assert.cs                | 128 ++++++++++---
 .../Analysis/MockBytesAttributeFactory.cs          |   2 +-
 src/Lucene.Net.TestFramework/Search/CheckHits.cs   |  18 +-
 .../Search/RandomSimilarityProvider.cs             |  26 +--
 .../Support/ApiScanTestBase.cs                     | 114 ++++++------
 .../Support/Codecs/TestCodecFactory.cs             |   2 +-
 .../Support/Codecs/TestDocValuesFormatFactory.cs   |   2 +-
 .../Support/Codecs/TestPostingsFormatFactory.cs    |   2 +-
 .../Support/JavaCompatibility/LuceneTestCase.cs    |  25 ++-
 .../Support/RandomExtensions.cs                    |  31 ++++
 .../Attributes/SeedDecoratorAttribute.cs           |   2 +-
 .../Support/Randomized/Generators/RandomInts.cs    |   9 +-
 .../Support/Randomized/RandomizedRunner.cs         |   2 +-
 .../Util/LuceneTestCase.cs                         |  54 ++++--
 .../Util/TestRuleSetupAndRestoreClassEnv.cs        |   2 +-
 src/Lucene.Net.TestFramework/Util/TestUtil.cs      |   6 +-
 .../Analysis/CharFilters/TestMappingCharFilter.cs  |   2 +-
 .../Analysis/Core/TestAllAnalyzersHaveFactories.cs |  10 +-
 .../Analysis/Core/TestRandomChains.cs              |   6 +-
 .../Analysis/Core/TestStopFilterFactory.cs         |   2 +-
 .../Analysis/Hunspell/TestAllDictionaries.cs       |   2 +-
 .../Analysis/Hunspell/TestAllDictionaries2.cs      |   2 +-
 .../Analysis/Synonym/TestSynonymFilterFactory.cs   |   2 +-
 .../Morfologik/TestMorfologikAnalyzer.cs           |  17 +-
 .../ByTask/Tasks/Alt/AltPackageTaskTest.cs         |   2 +-
 src/Lucene.Net.Tests.Demo/TestDemo.cs              |   2 +-
 .../Taxonomy/TestTaxonomyFacetCounts.cs            |   2 +-
 .../AllGroupHeadsCollectorTest.cs                  |   2 +-
 .../CommonTermsQueryTest.cs                        |  10 +-
 .../Classic/TestQueryParser.cs                     |   4 +-
 .../SessionTokenTest.cs                            |   2 +-
 .../Analyzing/AnalyzingInfixSuggesterTest.cs       |  82 ++++-----
 .../Suggest/Analyzing/AnalyzingSuggesterTest.cs    | 202 ++++++++++-----------
 .../Suggest/Analyzing/FuzzySuggesterTest.cs        | 126 ++++++-------
 .../Suggest/TestInputIterator.cs                   |   4 +-
 src/Lucene.Net.Tests/Index/Test2BTerms.cs          |   2 +-
 .../Index/TestDocumentsWriterDeleteQueue.cs        |  48 ++++-
 .../Index/TestFilterAtomicReader.cs                |   2 +-
 src/Lucene.Net.Tests/Index/TestNoDeletionPolicy.cs |   2 +-
 src/Lucene.Net.Tests/Index/TestNoMergePolicy.cs    |   2 +-
 src/Lucene.Net.Tests/Index/TestNoMergeScheduler.cs |   2 +-
 .../Support/Codecs/TestDefaultCodecFactory.cs      |   2 +-
 .../Codecs/TestDefaultDocValuesFormatFactory.cs    |   2 +-
 .../Codecs/TestDefaultPostingsFormatFactory.cs     |   2 +-
 src/Lucene.Net.Tests/Util/TestCollectionUtil.cs    |  12 +-
 src/Lucene.Net.Tests/Util/TestIdentityHashSet.cs   |   8 +-
 src/Lucene.Net.Tests/Util/TestVersion.cs           |   2 +-
 src/Lucene.Net/Analysis/Analyzer.cs                |   2 +-
 src/Lucene.Net/Analysis/NumericTokenStream.cs      |   2 +-
 src/Lucene.Net/Analysis/Token.cs                   |   2 +-
 .../Analysis/TokenAttributes/CharTermAttribute.cs  |   6 +-
 src/Lucene.Net/Codecs/Codec.cs                     |   2 +-
 .../Compressing/CompressingStoredFieldsReader.cs   |   2 +-
 .../Compressing/CompressingTermVectorsReader.cs    |   2 +-
 src/Lucene.Net/Codecs/DocValuesFormat.cs           |   2 +-
 .../Codecs/Lucene3x/Lucene3xStoredFieldsReader.cs  |   2 +-
 .../Codecs/Lucene40/Lucene40StoredFieldsReader.cs  |   2 +-
 src/Lucene.Net/Codecs/PostingsFormat.cs            |   2 +-
 src/Lucene.Net/Index/CompositeReader.cs            |   2 +-
 src/Lucene.Net/Index/DocumentsWriter.cs            |   2 +-
 src/Lucene.Net/Index/IndexFileDeleter.cs           |   2 +-
 src/Lucene.Net/Index/IndexReader.cs                |   6 +-
 src/Lucene.Net/Index/IndexWriter.cs                |   2 +-
 src/Lucene.Net/Index/SegmentCoreReaders.cs         |   2 +-
 src/Lucene.Net/Index/Term.cs                       |  21 +--
 src/Lucene.Net/Search/ReferenceManager.cs          |   4 +-
 src/Lucene.Net/Search/SearcherLifetimeManager.cs   |   2 +-
 src/Lucene.Net/Store/BaseDirectory.cs              |   2 +-
 src/Lucene.Net/Store/ByteBufferIndexInput.cs       |   6 +-
 src/Lucene.Net/Store/CompoundFileWriter.cs         |   2 +-
 .../Support/Codecs/DefaultCodecFactory.cs          |   2 +-
 .../Codecs/DefaultDocValuesFormatFactory.cs        |   2 +-
 .../Support/Codecs/DefaultPostingsFormatFactory.cs |   2 +-
 src/Lucene.Net/Support/Collections.cs              |  14 +-
 .../Support/Util/BundleResourceManagerFactory.cs   |   2 +-
 src/Lucene.Net/Support/Util/NamedServiceFactory.cs |  14 +-
 src/Lucene.Net/Util/ArrayUtil.cs                   |   2 +-
 src/Lucene.Net/Util/AttributeImpl.cs               |   1 -
 src/Lucene.Net/Util/AttributeSource.cs             |  65 +++++--
 src/Lucene.Net/Util/Automaton/Automaton.cs         |  10 +-
 src/Lucene.Net/Util/Automaton/BasicOperations.cs   |  21 +--
 .../Util/Automaton/DaciukMihovAutomatonBuilder.cs  |  15 +-
 src/Lucene.Net/Util/Automaton/SortedIntSet.cs      |   3 +-
 src/Lucene.Net/Util/Automaton/State.cs             |  25 ++-
 src/Lucene.Net/Util/Bits.cs                        |  10 +-
 src/Lucene.Net/Util/BytesRef.cs                    |  22 ++-
 src/Lucene.Net/Util/CharsRef.cs                    |  13 +-
 src/Lucene.Net/Util/FieldCacheSanityChecker.cs     |   4 +
 src/Lucene.Net/Util/Fst/FST.cs                     |  11 +-
 src/Lucene.Net/Util/Fst/NodeHash.cs                |   2 +-
 src/Lucene.Net/Util/IntsRef.cs                     |   7 +-
 src/Lucene.Net/Util/LongsRef.cs                    |   7 +-
 src/Lucene.Net/Util/MathUtil.cs                    |  13 +-
 src/Lucene.Net/Util/NamedSPILoader.cs              |   2 +-
 src/Lucene.Net/Util/NumericUtils.cs                |  17 +-
 src/Lucene.Net/Util/PagedBytes.cs                  |   7 +-
 src/Lucene.Net/Util/PrintStreamInfoStream.cs       |   2 +-
 src/Lucene.Net/Util/RamUsageEstimator.cs           |  14 +-
 src/Lucene.Net/Util/SPIClassIterator.cs            |   4 +-
 src/Lucene.Net/Util/SloppyMath.cs                  |   4 +-
 src/Lucene.Net/Util/UnicodeUtil.cs                 |   4 +
 src/Lucene.Net/Util/VirtualMethod.cs               |   4 +-
 src/Lucene.Net/Util/WAH8DocIdSet.cs                |   7 +-
 src/dotnet/tools/lucene-cli/ConfigurationBase.cs   |   2 +-
 125 files changed, 890 insertions(+), 587 deletions(-)

Reply via email to