|
|
|
|
|
by Gh0stRAT
971 days ago
|
|
>foreach will not be replaced behind the scenes into multithreaded version since it changes behaviour. It only (meaningfully) changes behavior if you're both iterating over an odered datastructure and the body of your loop has direct or indirect side-effects. (like printing, writing to a file, making network requests, etc) |
|
So like... huge % of the real world code bases