merge Viktor hofer netstandard20 by ericnewton76 · Pull Request #386 · commandlineparser/commandline
and others added 30 commits
March 20, 2018 02:55… your Maximum Display Width is 80
…r non-Windows environments, but this is not true in more recent versions of Mono (returns 0 instead). This change will cause it to default to DefaultMaximumLength in the event that Console.WindowWidth returns 0.
Fix not showing correct header info, issue #34
…dline into ViktorHofer-netstandard20
Conflicts: .paket/Paket.Restore.targets paket.lock src/CommandLine/CommandLine.csproj src/CommandLine/Core/ReflectionExtensions.cs tests/CommandLine.Tests.Properties/CommandLine.Tests.Properties.csproj tests/CommandLine.Tests/CommandLine.Tests.csproj tests/CommandLine.Tests/Unit/Core/InstanceBuilderTests.cs tests/CommandLine.Tests/Unit/Text/HelpTextTests.cs
Scenarios: * IEnumerable option with 9000 entries: 15+ hours -> 150ms * Options class w/20 string options all set on command line: 960ms -> 2.2ms The speedups were all achieved by memoizing IEnumerables that are enumerated multiple times.
I initially added .ToSet() to EnumerableExtensions.cs, not realizing it was a paket file and thus not directly editable in this repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters