by mjpa · 11y ago · 0 comments
Also, the code says it will print the time taken since the start of the program, which again doesn't go with the output and the conclusion being made!
Anyway, how come the output isn't in order?
The order of the output is dependent on when each call finished - they run in parallel, so it's not guaranteed that functions will end in the order they were invoked.
For some reason I was thinking the readdir would run in series so output would go up by ~1s each time.