When you call future.result(), that blocks until the value is ready. So, youβre not getting any benefits out of parallelism hereβyou start one task, wait for it to finish, start another, wait for it to finish, and so on.
Of course your example wonβt benefit from threading in theβ¦
Top comments (0)