DEV Community

loading...

Discussion on: Daily Challenge #3 - Vowel Counter

Collapse
databasesponge profile image
MetaDave 🇪🇺

It would be interesting to know if str.count("aeiouAEIOU") was faster, or if reordering the letters to try to get the most likely match first was better – e.g. str.count("eiaouEIAOU")