I replaced the for-loop with a Signal. I'm not sure if the game ACTUALLY runs any easier, because
the Framecounter spelled 60 then and still spells 60 now.
And even while I temporarily disabed VSync, specifically to measure the performance change in numbers,
these code changes still don't raise or lower the Framecounter.
But at least the code looks much cleaner now:
extends Area2D
func _on_Spike_body_entered(body): #The Signal
if body.name == "Player1" or body.name == "Player2":
body.die()
@Azedaxen While I thank you for pointing out this possibility for improving existing code,
I still need a working way of toggling the collision or making body.die()
run only when the player touches it from above.