Skip to content

Commit

Permalink
Spelling and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gh123man committed Apr 7, 2024
1 parent a67e846 commit 07759e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Benchmarks/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ SPMC Async alg | `RefData` | `3929`
MPMC Async alg | `RefData` | `4285`
MPSC Async alg Write Contention | `RefData` | `20992`




## Async Channels vs Async Algorithms AsyncChannel

Apple has their own channel implementation in the [swift-async-algorithms package](https://github.com/apple/swift-async-algorithms/blob/main/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Channel.md). We cannot compare every benchmark since it does not support buffering or select.
Expand Down
2 changes: 1 addition & 1 deletion Examples/ImageConverter/Sources/ImageConverter/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ for i in 0..<ProcessInfo.processInfo.activeProcessorCount {
}
}

// Recieve the converted images on one task and write to disk
// Receive the converted images on one task and write to disk
Task {
try! FileManager.default.createDirectory(at: URL(fileURLWithPath: "\(directoryPath)/converted/"), withIntermediateDirectories: true, attributes: nil)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ for _ in (0..<20) {

See the [Examples](/Examples/) folder for real world usage.

- [Parallel image converter](/Examples/ImageConverter/) - Saturate the CPU to convert images applying back pressrue to the input.
- [Parallel image converter](/Examples/ImageConverter/Sources/ImageConverter/main.swift) - Saturate the CPU to convert images applying back pressure to the input.

## Notes

Expand Down

0 comments on commit 07759e7

Please sign in to comment.