switch/case is using jump tables, but I do not exactly know on what it's based on the case of strings but I think it's using the direct representation of the strings. Maybe someone else knows some more details about it.
↧