4 ms·Only as long as your compiler optimises it into a jump table, which is effectively a hash table.by yakubin 4y agoOnly as long as your compiler optimises it into a jump table, which is effectively a hash table.