Hacker News new | ask | show | jobs
by wizzwizz4 2173 days ago
I think you could make your lowercase loop shorter – and definitely faster – by jumping into a second loop when inside a string, instead of setting a flag.
1 comments

You’re right! I’ll do that. :-)

I haven’t done a lot of optimization yet-probably lots of things like this. :-)