MQL5 リファレンス標準ライブラリジェネリックデータコレクションCHashSet<T>TrimExcess AddCountContainsComparerTrimExcessCopyToClearRemoveExceptWithIntersectWithSymmetricExceptWithUnionWithIsProperSubsetOfIsProperSupersetOfIsSubsetOfIsSupersetOfOverlapsSetEquals TrimExcess 세트의 용량을 실제 요소 수로 설정하여 사용하지 않는 메모리를 확보. void TrimExcess(); Comparer CopyTo