I obtained a 10% speed increase by changing this: repeat with n = 3 to 10 to this: put "3,4,5,6,7,8,9,10" into nList repeat for each item n in nList