Question 4 concerning the Final Exam IN3030/IN4330 Spring 2021

Question 4:

Related to 3 (merge sort)

Are we allowed to use RecursiveTask along side with ForkJoin to solve the merge sort task? It seems sort of like cheating, since the library (standard in java 8) performs a lot of the load balancing for you.

Answer:

Yes, but you will have to:

  1. Figure out how to use it
  2. Justify using it
  3. Get good speedup

-- Eric

Published May 31, 2021 9:10 PM - Last modified May 31, 2021 9:10 PM