Speed up for … in xs -> … in computed collections
#16948
Merged
for … in xs -> … in computed collections
#16948