├── .editorconfig ├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── config.yml ├── benchmark.png └── workflows │ ├── ci.yml │ ├── documentation.yml │ ├── format.yml │ └── release.yml ├── .gitignore ├── .spi.yml ├── LICENSE ├── Makefile ├── Package.resolved ├── Package.swift ├── Package@swift-5.9.swift ├── README.md ├── Sources ├── IdentifiedCollections │ ├── Documentation.docc │ │ ├── IdentifiedCollections.md │ │ └── Resources │ │ │ └── benchmark.png │ ├── Identified │ │ └── Identified.swift │ ├── IdentifiedArray │ │ ├── IdentifiedArray+Codable.swift │ │ ├── IdentifiedArray+Collection.swift │ │ ├── IdentifiedArray+CollectionAlgorithms.swift │ │ ├── IdentifiedArray+CustomDebugStringConvertible.swift │ │ ├── IdentifiedArray+CustomReflectable.swift │ │ ├── IdentifiedArray+CustomStringConvertible.swift │ │ ├── IdentifiedArray+Equatable.swift │ │ ├── IdentifiedArray+ExpressibleByArrayLiteral.swift │ │ ├── IdentifiedArray+Hashable.swift │ │ ├── IdentifiedArray+IdentifiedCollection.swift │ │ ├── IdentifiedArray+Initializers.swift │ │ ├── IdentifiedArray+Insertions.swift │ │ ├── IdentifiedArray+MutableCollection.swift │ │ ├── IdentifiedArray+RandomAccessCollection.swift │ │ ├── IdentifiedArray+RangeReplaceableCollection.swift │ │ ├── IdentifiedArray+Sendable.swift │ │ └── IdentifiedArray.swift │ └── IdentifiedCollection.swift └── swift-identified-collections-benchmark │ └── main.swift └── Tests └── IdentifiedCollectionsTests ├── IdentifiedArrayCollectionOperationTests.swift └── IdentifiedArrayTests.swift /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/benchmark.png -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/workflows/documentation.yml -------------------------------------------------------------------------------- /.github/workflows/format.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/workflows/format.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /.swiftpm 4 | /Packages 5 | /*.xcodeproj 6 | xcuserdata/ 7 | -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/.spi.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Makefile -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-5.9.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Package@swift-5.9.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/README.md -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/Documentation.docc/IdentifiedCollections.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/Documentation.docc/IdentifiedCollections.md -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/Documentation.docc/Resources/benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/Documentation.docc/Resources/benchmark.png -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/Identified/Identified.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/Identified/Identified.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Codable.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Collection.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CollectionAlgorithms.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CollectionAlgorithms.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomDebugStringConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomDebugStringConvertible.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomReflectable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomReflectable.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomStringConvertible.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+CustomStringConvertible.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Equatable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Equatable.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+ExpressibleByArrayLiteral.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+ExpressibleByArrayLiteral.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Hashable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Hashable.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+IdentifiedCollection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+IdentifiedCollection.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Initializers.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Insertions.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+MutableCollection.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RandomAccessCollection.swift: -------------------------------------------------------------------------------- 1 | extension IdentifiedArray: RandomAccessCollection {} 2 | -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+RangeReplaceableCollection.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Sendable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray+Sendable.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedArray/IdentifiedArray.swift -------------------------------------------------------------------------------- /Sources/IdentifiedCollections/IdentifiedCollection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/IdentifiedCollections/IdentifiedCollection.swift -------------------------------------------------------------------------------- /Sources/swift-identified-collections-benchmark/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Sources/swift-identified-collections-benchmark/main.swift -------------------------------------------------------------------------------- /Tests/IdentifiedCollectionsTests/IdentifiedArrayCollectionOperationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Tests/IdentifiedCollectionsTests/IdentifiedArrayCollectionOperationTests.swift -------------------------------------------------------------------------------- /Tests/IdentifiedCollectionsTests/IdentifiedArrayTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pointfreeco/swift-identified-collections/HEAD/Tests/IdentifiedCollectionsTests/IdentifiedArrayTests.swift --------------------------------------------------------------------------------