Matthew Young
2e71e228c0
Update Suffix.swift
...
Change `endOfPrefix(while:)` and `startOfSuffix(while:)` from internal to public
2023-11-14 13:00:34 -06:00
Tim Vermeulen
c5ea9e3e36
Prepare for Swift Algorithms 1.0 ( #167 )
...
* Rename types to include a Sequence or Collection suffix, and clean up some guides
* Various refactors
* Replace `validateIndexTraversals` test method with `IndexValidator` type
* Add LazySequenceProtocol to StridingSequence, StridingCollection
* Update the Numerics dependency to 1.0
* Set `IndexedCollection.Indices` to `Base.Indices`
* Remove deprecations
* Update the changelog/README for the 1.0.0 release
* Fix compiler error on Linux
* Rename `WindowsCollection` to `WindowsOfCountCollection`
2021-09-09 01:01:36 +02:00
Karl
9783c1be91
Inline all the things! 🎨 ( #109 )
...
* Make suffix functions inlinable
* Inline all the things!
2021-03-23 15:00:09 -05:00
Tim Vermeulen
ab0ec2adf4
Internally add Collection.endOfPrefix(while:) and BidirectionalCollection.startOfSuffix(while:) ( #92 )
...
* Add endOfPrefix(while:) and startOfSuffix(while:) internally
* Add tests
* Use these methods throughout the package
2021-03-09 20:03:55 +01:00
Luciano Almeida
914e626e23
Audit public functions and properties that could be inlinable ( #83 )
2021-02-23 11:48:57 -06:00
Matt Zanchelli
d2a1ca5f7b
Lowercase suffix(while:) to match the case of the actual function name ( #76 )
2021-02-10 20:45:56 -06:00
michiboo and Xiaodi Wu
f9a4f79027
Update Sources/Algorithms/Suffix.swift
...
Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com >
2021-01-28 15:22:18 +02:00
michiboo and Xiaodi Wu
2f8f798d0c
Update Sources/Algorithms/Suffix.swift
...
Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com >
2021-01-24 21:54:14 +08:00
michiboo and Xiaodi Wu
60bad3bbf4
Update Sources/Algorithms/Suffix.swift
...
Co-authored-by: Xiaodi Wu <13952+xwu@users.noreply.github.com >
2021-01-23 14:39:02 +08:00
michiboo
08e424ea07
add doc on suffix method
2021-01-23 08:38:12 +02:00
michiboo
813ea7905e
add more test for suffix Tests
2021-01-22 16:17:28 +02:00
michiboo
9ef531f23f
add suffix while method
2021-01-20 15:16:25 +02:00