Re:Applying the Linus Torvalds “Good Taste” Coding Requirement
by lmm on Thursday October 27, 2016 @10:35AM
(#12805386)
There's no reason a `.where` should be slower than an explicit loop though. Indeed it should offer more opportunity for future performance improvements, because it doesn't constrain the implementation with irrelevant details - the compiler is free to e.g. make the loop run backwards, or split the collection into chunks and parallelize, if it figures that that would be faster.
[ Parent
| on HN ]
There are no comments on this comment yet.