DEV Community

Discussion on: Javascript Algorithms #1: Counting the Vowels in a String Of Text

Collapse
 
dallgoot profile image
dallgoot

finally: I got some tests working (Revision 7, you can delete others)
So I'm seeing what I expected: switch cases are faster than array searching.
Not from much though, but still with so few values.

Thread Thread
 
worldclassdev profile image
Philip Obosi

Nice one man. Seen it.