On Wed Nov 8 13:35:34 2023 +0000, Giovanni Mascellani wrote:
It seems the new `switch` should be considered an entirely different instruction, given how different it is. It could be renamed to `branch_switch`. Also, comments with the word "new" in them are likely to eventually become false, or at least misleading.
I'm inclined to avoid adding new instructions if an existing one can do the job without too much trouble. I think checking `case_count` is not too much trouble, but Henri may disagree.