https://github.com/eneko/concurrencyandparallelism
Command-line tool to test, research, and illustrate different concurrency and parallelism configurations
https://github.com/eneko/concurrencyandparallelism
Last synced: about 1 month ago
JSON representation
Command-line tool to test, research, and illustrate different concurrency and parallelism configurations
- Host: GitHub
- URL: https://github.com/eneko/concurrencyandparallelism
- Owner: eneko
- Created: 2021-12-23T17:35:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-28T01:32:20.000Z (almost 4 years ago)
- Last Synced: 2025-02-09T07:25:24.932Z (10 months ago)
- Language: Swift
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scap
## Problem Statement
Given 8 groups of data, with 10 elements each, process them using different
techniques for parallelism and concurrency.
Some groups depend on other groups, these dependencies must be respected.
Groups: A, B, C, D, E, F
Rules:
- All A must be processed before any B
- B1 must be processed before C1, B2 before C2, and so on
- C1 must be processed before D1, C2 before D2, and so on
- All D must be processed before E
- All D must be processed before F
Dependencies:
```
A <- B
B1 <- C1
C1 <- D1
A <- E
D <- E
D <- F
```