@NaoMatch Thanks so much! This is faster on my computer too.
Why though?? Why is using temporary variables faster? Why doesn’t the compiler make this optimization for me? I suppose it uses slightly more stack memory, which might not be wanted in some special circumstances.