I'm not sure you'll gain very much from writing this any other way. A better option, if possible in your situation(?), might be to avoid using VariableDate
at all in each item in ChildList
, and just refer to Parent
instead whenever you need it. That way, you would not have to iterate through the 4K rows at all.
As presented in your question, each item.VariableDate
seems to be superfluous..