lundi 15 novembre 2021

How does Switch work faster than if condition? [closed]

While using switch it should know where is the matching case and to fetch, it should search for valid case, even there it consumes time same as if condition. If I am not wrong.

Aucun commentaire:

Enregistrer un commentaire