forked from ChartsOrg/Charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import swift algorithms (ChartsOrg#4497)
* Use Algorithms implementation of binary search * Use `indexed()` where appropriate * Update Package.swift to include SwiftAlgorithms * Use lazy implementation of `prefix(while:)` For better performance * Revert "Use lazy implementation of `prefix(while:)`" This reverts commit 69a303f.
- Loading branch information
1 parent
f84e9bb
commit db260ab
Showing
9 changed files
with
174 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "swift-algorithms", | ||
"repositoryURL": "https://github.com/apple/swift-algorithms", | ||
"state": { | ||
"branch": null, | ||
"revision": "bb3bafeca0e164ece3403a9de646b7d38c07dd49", | ||
"version": "0.0.2" | ||
} | ||
}, | ||
{ | ||
"package": "swift-numerics", | ||
"repositoryURL": "https://github.com/apple/swift-numerics", | ||
"state": { | ||
"branch": null, | ||
"revision": "6b24333510e9044cf4716a07bed65eeed6bc6393", | ||
"version": "0.0.8" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "swift-algorithms", | ||
"repositoryURL": "https://github.com/apple/swift-algorithms", | ||
"state": { | ||
"branch": null, | ||
"revision": "bb3bafeca0e164ece3403a9de646b7d38c07dd49", | ||
"version": "0.0.2" | ||
} | ||
}, | ||
{ | ||
"package": "swift-numerics", | ||
"repositoryURL": "https://github.com/apple/swift-numerics", | ||
"state": { | ||
"branch": null, | ||
"revision": "6b24333510e9044cf4716a07bed65eeed6bc6393", | ||
"version": "0.0.8" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.