Select:
Branch:

It is exactly the same code, one uses branch the other uses select.
Is there a measurable performance difference between these two approaches?
Select:
It is exactly the same code, one uses branch the other uses select.
Is there a measurable performance difference between these two approaches?
I suspect not
I don’t think there is, but if I had to say which one I think is lighter I would say select and it’s also simpler
A small note for further use cases: with the select node is best to only use precalculated values since it will evaluate every input that is connected, regardless of whether it is the chosen output or not. This means that if you have expensive calculations or functions connected to any of the input pins, they will still execute even if their results are not used.
That is very interesting, and not such a small note in the context of performance. You would kind of expect, on average, select to cost more as a consequence, and you could certainly engineer tests that make select look very bad!