Commit Graph
709 Commits
Author SHA1 Message Date
Karoy Lorentey ff2d526c1b [PersistentDictionary] Doc fixes 2022-10-31 17:27:49 -07:00
Karoy Lorentey 7d0d627f44 [PersistentSet] Fix doc typo 2022-10-31 17:20:15 -07:00
Karoy Lorentey 898d3c9a51 [PersistentCollections] Doc & benchmark updates in preparation of API review 2022-10-31 16:45:42 -07:00
Karoy Lorentey 0e230a95fb Merge pull request #234 from lorentey/fix-isEqual-naming
[SetAlgebra types] isEqual(to:) → isEqualSet(to:)
2022-10-31 16:44:51 -07:00
Karoy Lorentey 581490a735 [CMake] Update CMakeLists.txts 2022-10-31 15:10:11 -07:00
Karoy Lorentey 8f7d5fd505 [SetAlgebra types] isEqual(to:) → isEqualSet(to:)
The `isEqual(to:)` methods are a bit too confusing — they implement
mathematical set comparisons (ignoring element ordering and, in the
case of the Sequence variant, even element multiplicities), so it
seems better to highlight this by putting a `Set` in the name.
2022-10-31 15:05:12 -07:00
Karoy Lorentey 1b53fc88d5 Merge pull request #233 from lorentey/PersistentSet-iterator-fix
[PersistentSet] Iterator.next(): Make inlinable
2022-10-31 14:35:57 -07:00
Karoy Lorentey 14e86daeeb [PersistentSet] Iterator.next(): Make inlinable
For a cool 4x performance improvement. 😣
2022-10-31 14:03:49 -07:00
Karoy Lorentey 5e80c92941 Merge pull request #230 from lorentey/update-cmake
Update CMake build configuration
2022-10-28 18:20:21 -07:00
Karoy Lorentey d19fb14c46 [CMake] Update CMake configuration 2022-10-28 18:18:39 -07:00
Karoy Lorentey f649303db1 Merge pull request #228 from lorentey/DocC
Start working on DocC support
2022-10-28 18:05:49 -07:00
Karoy Lorentey 1c147e3b06 [Collections] Regenerate docs 2022-10-28 12:35:37 -07:00
Karoy Lorentey aaeeb9e440 [OrderedCollections] Doc updates 2022-10-28 12:34:14 -07:00
Karoy Lorentey b2f254384d [doc] Add some flesh to DocC structure
# Conflicts:
#	Sources/BitCollections/BitCollections.docc/Extensions/BitArray.md
#	Sources/BitCollections/BitCollections.docc/Extensions/BitSet.Counted.md
#	Sources/BitCollections/BitCollections.docc/Extensions/BitSet.md
#	Sources/OrderedCollections/OrderedCollections.docc/Extensions/OrderedSet.UnorderedView.md
#	Sources/OrderedCollections/OrderedCollections.docc/Extensions/OrderedSet.md
2022-10-28 12:34:14 -07:00
Karoy Lorentey 6af8954d5b [doc] Add generate-docs.sh 2022-10-28 12:34:14 -07:00
Karoy Lorentey 0120dd1d79 [BitCollections] Categorize member APIs 2022-10-28 12:34:14 -07:00
Karoy Lorentey de22bed429 [OrderedCollections] Update top-level docs 2022-10-28 12:34:14 -07:00
Karoy Lorentey 86bce28835 [docs] Start working on DocC support 2022-10-28 12:34:14 -07:00
Karoy Lorentey bef610feb8 Merge pull request #224 from lorentey/finalize-PersistentCollections
Finalize persistent collections API
2022-10-28 12:32:57 -07:00
Karoy Lorentey a9fd8af830 Merge pull request #225 from lorentey/fix-custom-mirrors
[OrderedSet, BitSet] Fix custom mirror display style
2022-10-28 12:20:49 -07:00
Karoy Lorentey 98d62d236b [PersistentDictionary] More keys diffing APIs; additional documentation & testing 2022-10-28 12:19:08 -07:00
Karoy Lorentey ba7e3927e7 [BitSet] Adjust test for updated mirror display style 2022-10-28 10:40:42 -07:00
Karoy Lorentey d2099dd6cb Merge pull request #226 from lorentey/improve-OrderedSet-initializer
[OrderedSet] Improve sequence-taking initializer
2022-10-28 10:37:15 -07:00
Karoy Lorentey 145e9499f3 Merge pull request #227 from lorentey/Xcode-gardening
[Xcode] Disable implicit dependencies
2022-10-27 18:37:43 -07:00
Karoy Lorentey 68bc6567be [Xcode] Disable implicit dependencies 2022-10-27 18:36:04 -07:00
Karoy Lorentey 207029a613 [OrderedSet] Improve Sequence initializer 2022-10-27 18:32:06 -07:00
Karoy Lorentey 2dae70dba7 [OrderedSet, BitSet] Fix display style of custom mirror 2022-10-27 18:29:32 -07:00
Karoy Lorentey 18a01247a3 [PersistentDictionary] Add missing documentation comments 2022-10-27 18:08:27 -07:00
Karoy Lorentey 57554c65c2 [PersistentDictionary] Add an argument label for init(keys:valueGenerator:) 2022-10-27 18:08:27 -07:00
Karoy Lorentey 6dd3756609 [PersistentDictionary] Remove init(uniqueKeys:values:)
This initializer was interesting for OrderedDictionary, where it made
for more efficient initialization of storage, but it’s less useful for
other dictionary types.
2022-10-27 18:08:27 -07:00
Karoy Lorentey 8a1b16229b [PersistentDictionary] Add initializer taking Self 2022-10-27 18:08:27 -07:00
Karoy Lorentey 1e1decfa6e [PersistentCollections] Tweak DocC docs 2022-10-27 18:08:27 -07:00
Karoy Lorentey d8e8f5cc19 [PersistentDictionary] Tweak docs 2022-10-27 18:08:27 -07:00
Karoy Lorentey 7dd47aa336 [Benchmark] Work on PeristentSet and PersistentDictionary benchmarks 2022-10-27 18:08:27 -07:00
Karoy Lorentey 16687d78af [PersistentSet] Add more tests 2022-10-27 18:08:27 -07:00
Karoy Lorentey 1d2a52779c [PersistentSet] Add missing docs 2022-10-27 18:08:27 -07:00
Karoy Lorentey 84356e58c7 [PersistentCollection] Back out BidirectionalCollection conformance
BidirectionalCollection has the connotation that the ordering
of elements is meaningful, which isn’t the case for PersistentSet
and PersistentDictionary.
2022-10-27 18:08:27 -07:00
Karoy Lorentey 82b7a53960 [PersistentCollections] Categorize member APIs 2022-10-27 18:08:27 -07:00
Karoy Lorentey 3d807118ba [PersistentCollections] Start working on DocC support 2022-10-27 18:08:27 -07:00
Karoy Lorentey 0000ddb00b Merge pull request #223 from lorentey/review-set-operations
Review and finalize (?) binary set operations for 1.1
2022-10-21 20:01:50 -07:00
Karoy Lorentey 72e2df59e3 Update gitignore 2022-10-21 19:49:20 -07:00
Karoy Lorentey 4fcb37f6ac [_CollectionsUtilities] Adjust DictionaryAPIChecker 2022-10-21 19:49:20 -07:00
Karoy Lorentey e3cc498060 [BitSet.Counted] Review, test, fix, and document binary set operations & predicates 2022-10-21 19:49:14 -07:00
Karoy Lorentey 1355d478af [BitSet] Review, test, extend, and document binary set operations 2022-10-21 19:49:07 -07:00
Karoy Lorentey 0914e6f546 [OrderedSet] More test coverage for set operations; clarify docs 2022-10-21 18:24:08 -07:00
Karoy Lorentey 3a07b859e0 [OrderedSet] Split SetAlgebra binary operations into individual files 2022-10-21 18:24:08 -07:00
Karoy Lorentey 648aaa7f56 [PersistentSet] Review, test, fix, and document binary set operations 2022-10-21 18:24:08 -07:00
Karoy Lorentey 4bb2b39175 Merge pull request #222 from lorentey/review-descriptions
Review & update descriptions throughout the package
2022-10-20 18:02:29 -07:00
Karoy Lorentey 2df7f6d3a8 Update xcode schemes 2022-10-20 17:15:21 -07:00
Karoy Lorentey ab750075a2 [PersistentCollections] Add missing Custom[Debug]StringConvertable conformances, review existing ones
Add `Custom[Debug]StringConformance` conformances on:

- `PersistentDictionary.Keys`
- `PersistentDictionary.Values`
- `PersistentDictionary.Index`
- `PersistentSet.Index`
2022-10-20 17:14:52 -07:00