Skip to content

Commit

Permalink
Mention a source that gives a solution for the assignment in testcase…
Browse files Browse the repository at this point in the history
…_mapreduce.md
  • Loading branch information
HosseinAssaran authored Dec 14, 2023
1 parent 32f5fa0 commit e99075c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/std_misc/threads/testcase_mapreduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ It is not wise to let our number of threads depend on user inputted data.
What if the user decides to insert a lot of spaces? Do we _really_ want to spawn 2,000 threads?
Modify the program so that the data is always chunked into a limited number of chunks,
defined by a static constant at the beginning of the program.
#### Answer
You can find a solution for this assignment
[here][assignment_solution].

### See also:
* [Threads][thread]
Expand All @@ -144,3 +147,4 @@ defined by a static constant at the beginning of the program.
[turbofish]: https://doc.rust-lang.org/book/appendix-02-operators.html?highlight=turbofish
[unwrap]: ../../error/option_unwrap.md
[enumerate]: https://doc.rust-lang.org/book/loops.html#enumerate
[assignment_solution]: https://github.com/HosseinAssaran/Testcase-map-reduce-assignment.git

0 comments on commit e99075c

Please sign in to comment.