forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added private method IsTrimNeeded TrimExcess deconstructed into smaller methods to perform copy operations ConstructFrom now automatically trims size and allocating new array only if needed UnionWith now uses ConstructFrom if input collection is HashSet, comparers equal and count is 0
- Loading branch information
1 parent
ccbcfbc
commit c0212cd
Showing
1 changed file
with
94 additions
and
98 deletions.
There are no files selected for viewing
This file contains 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