30 Aug
2015
30 Aug
'15
11:38 p.m.
On 08/30/2015 10:06 PM, Niall Douglas wrote:
7. future.wait() very rarely blocks in your use scenario i.e. most if not nearly all the time the future is ready. If you are blocking, the cost of any thread sleep will always dwarf the cost of any future.
Is this really an assumption that holds when dealing with operations that do file I/O? I have a hard time believing this is the general case.