Commit 12ee95c
committed
Response to reviewi
Explicitly tell it I want an array instead of leaving it unspecified
which kind of Ienumerable it ends up being, to guarantee faster
calculation of Count() calls. (I don't know if this is really needed,
given that partModule.Fields is of type BaseFields, which already does
implement a quick Count() get, but I admit I have no idea what C# does
when it executes a When clause, whether the subset it returns something
of exactly the same type as the original collection or whether it
makes a new IEnumerable collection out of it that might not be the
same kind.)1 parent b2bb206 commit 12ee95c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments