The purpose of this video is to introduce the ways how you can deal with if and else statements inside the Dynamo. Also, this video should answer a question which way is faster than others.
There are 4 different ways (as far as I know) which you can use in order to deal with the if/else statements. You can either use Python, Design script, default If node from the Dynamo library or Formula node. If we are talking about the speed between different ways I would say that the speed is probably very similar for all of them.
Please make sure that before you start using this script that you back up your existing project model.
Also, if you want to download this (and all other scripts) with my sample files please visit the Shop page.