Scott Perry
3924d1a99d
Merge pull request #25825 from numist/numist/diff-inverse-master
...
add `CollectionDifference.inverse()` and test coverage
2019-07-09 14:46:20 -07:00
Scott Perry
3ddfff92a6
add CollectionDifference.inverse() and test coverage
2019-06-27 11:40:46 -07:00
Scott Perry
0fc5d6ad31
Performance improvements and availability updates for Collection.difference(from:using:)
2019-06-26 16:55:29 -07:00
Ben Cohen
e9d4687e31
De-underscore @frozen, apply it to structs ( #24185 )
...
* De-underscore @frozen for enums
* Add @frozen for structs, deprecate @_fixed_layout for them
* Switch usage from _fixed_layout to frozen
2019-05-30 17:55:37 -07:00
Sho Ikeda
a35c9f0c60
[gardening] Use Collection.isEmpty over Collection.count
2019-05-26 09:35:20 +09:00
Federico Zanetello
afcf4b6991
fix documentation typo ( #25061 )
2019-05-25 12:43:49 -05:00
Nate Cook
841eb4cf5e
[stdlib] Revise collection difference documentation ( #24675 )
...
* Revise CollectionDifference documentation.
2019-05-10 20:57:46 +02:00
Scott Perry
6e3139b5da
Incorporate feedback from @lorentey and @moiseev
2019-02-27 14:05:06 -08:00
Karoy Lorentey
fd32a3d14e
[stdlib] Set availability of diffing APIs
2019-02-22 14:28:15 -08:00
Karoy Lorentey
57f4afbf84
[stdlib] Update diffing code to match stdlib coding conventions
...
- Add an underscore to private/internal symbols
- Make access levels explicit, even when they’re implied from context
- Conform to max line length of 80 characters
- Conformances declared on separate extensions that implement them
- Arrange member declarations so that stored properties appear first
- Expand single-letter function and type parameter names where there is an obvious name that’s more descriptive
- RangeReplaceableCollection.fastApplicationEnumeration → CollectionDifference._fastEnumeratedApply
2019-02-22 14:27:45 -08:00
Scott Perry
45522918ec
Header docs for internal methods validateChanges(_:) and init(validatedChanges:)
2019-02-05 14:34:27 -08:00
Scott Perry
b7f36c3399
Include renamed CollectionDifference.swift
2019-02-04 15:37:22 -08:00